Merge pull request #4557 from AntonKhorev/rename-api-old-version
Rename api old element actions and path helpers
This commit is contained in:
commit
ac01ada274
17 changed files with 64 additions and 67 deletions
|
@ -2,7 +2,7 @@
|
|||
<%= link_to t("browse.view_details"), :controller => :browse, :action => @type %>
|
||||
<% 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] %>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue