Convert api element history actions to versions resources
This commit is contained in:
parent
974e404a6e
commit
98af87d1cb
16 changed files with 175 additions and 134 deletions
|
@ -5,7 +5,7 @@
|
|||
<%= render :partial => "browse/#{@type}", :collection => @feature.send(:"old_#{@type}s").reverse %>
|
||||
|
||||
<div class='secondary-actions'>
|
||||
<%= link_to t("browse.download_xml"), :controller => "api/old_#{@type.pluralize}", :action => "history" %>
|
||||
<%= link_to t("browse.download_xml"), send(:"api_#{@type}_versions_path", @feature.id) %>
|
||||
·
|
||||
<%= link_to t("browse.view_details"), :controller => @type.pluralize, :action => :show %>
|
||||
<% if params[:show_redactions] %>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue