X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/cbf6b394644e5eff071ecab3cae3f17842fd3631..0d0a9fc0044a77aa8f5b70761b7529e2191e5a3e:/app/views/browse/_version_actions.erb diff --git a/app/views/browse/_version_actions.erb b/app/views/browse/_version_actions.erb index 3d4e4be13..94e18e457 100644 --- a/app/views/browse/_version_actions.erb +++ b/app/views/browse/_version_actions.erb @@ -1,5 +1,5 @@
- <%= link_to t("browse.view_details"), :controller => :browse, :action => @type %> + <%= link_to t("browse.view_details"), :controller => @type.pluralize, :action => :show %> <% if !@feature.redacted? %> · <%= link_to t("browse.download_xml"), :controller => "api/old_#{@type.pluralize}", :action => :show %> @@ -21,7 +21,7 @@ <% end %> · <% end %> - <%= link_to t("browse.view_history"), :controller => :browse, :action => "#{@type}_history" %> + <%= link_to t("browse.view_history"), :action => :index %> <% unless @feature.latest_version? %> · <%= link_to({ :version => @feature.version + 1 }, { :class => "icon-link" }) do %>