Merge pull request #4557 from AntonKhorev/rename-api-old-version

Rename api old element actions and path helpers
This commit is contained in:
Andy Allan 2024-03-13 15:51:41 +00:00 committed by GitHub
commit ac01ada274
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
17 changed files with 64 additions and 67 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] %>