]> git.openstreetmap.org Git - rails.git/blobdiff - app/views/browse/history.html.erb
Move admin users list to its own controller
[rails.git] / app / views / browse / history.html.erb
index d257d25a2dc9ad896972ceb9657672eafd0ed538..1595df0216d129772d953d07c5a5923d85f32fa8 100644 (file)
@@ -7,7 +7,7 @@
 <div class='secondary-actions'>
   <%= link_to t("browse.download_xml"), :controller => "api/old_#{@type.pluralize}", :action => "history" %>
   &middot;
 <div class='secondary-actions'>
   <%= link_to t("browse.download_xml"), :controller => "api/old_#{@type.pluralize}", :action => "history" %>
   &middot;
-  <%= link_to t("browse.view_details"), :controller => "browse", :action => @type %>
+  <%= link_to t("browse.view_details"), :controller => @type.pluralize, :action => :show %>
   <% if params[:show_redactions] %>
     &middot;
     <%= link_to t("browse.view_history") %>
   <% if params[:show_redactions] %>
     &middot;
     <%= link_to t("browse.view_history") %>