X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/0a10ac2e9be4246987951eea86ae201f14c65fc1..29020530a8fabe1d02e3bc9c41970c9030efc380:/app/views/browse/_version_actions.erb?ds=sidebyside diff --git a/app/views/browse/_version_actions.erb b/app/views/browse/_version_actions.erb index 46bfd0dc2..94e18e457 100644 --- a/app/views/browse/_version_actions.erb +++ b/app/views/browse/_version_actions.erb @@ -1,8 +1,8 @@
- <%= 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 => :version %> + <%= link_to t("browse.download_xml"), :controller => "api/old_#{@type.pluralize}", :action => :show %> <% elsif current_user&.moderator? %> · <% if !params[:show_redactions] %> @@ -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 %>