<div class='secondary-actions'>
- <%= link_to t("browse.view_details"), :controller => :browse, :action => @type %>
+ <%= link_to t("browse.view_details"), :controller => @type.pluralize, :action => :show %>
<% 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] %>
<% end %>
·
<% end %>
- <%= link_to t("browse.view_history"), :controller => :browse, :action => "#{@type}_history" %>
+ <%= link_to t("browse.view_history"), :action => :index %>
<% unless @feature.latest_version? %>
·
<%= link_to({ :version => @feature.version + 1 }, { :class => "icon-link" }) do %>