Rename api element version action to show

This commit is contained in:
Anton Khorev 2024-03-03 12:12:25 +03:00
parent e0d0b68785
commit cbf6b39464
13 changed files with 13 additions and 15 deletions

View file

@ -2,7 +2,7 @@
<%= link_to t("browse.view_details"), :controller => :browse, :action => @type %>
<% if !@feature.redacted? %>
&middot;
<%= 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? %>
&middot;
<% if !params[:show_redactions] %>