Move element history actions to old element controllers
This commit is contained in:
parent
c91bd55222
commit
d87d06fee5
13 changed files with 228 additions and 237 deletions
|
@ -17,10 +17,10 @@
|
|||
<% end %>
|
||||
·
|
||||
<% end %>
|
||||
<%= link_to t("browse.view_history"), :action => "#{@type}_history" %>
|
||||
<%= link_to t("browse.view_history"), :controller => "old_#{@type.pluralize}" %>
|
||||
<% if current_user&.moderator? %>
|
||||
·
|
||||
<%= link_to(t("browse.view_unredacted_history"), :action => "#{@type}_history", :params => { :show_redactions => true }) %>
|
||||
<%= link_to(t("browse.view_unredacted_history"), :controller => "old_#{@type.pluralize}", :params => { :show_redactions => true }) %>
|
||||
<% end %>
|
||||
<% if @feature.version > 1 %>
|
||||
·
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue