]> git.openstreetmap.org Git - rails.git/blobdiff - app/views/browse/_version_actions.erb
Remove global "awaiting geocode" routing state
[rails.git] / app / views / browse / _version_actions.erb
index 63cadeb3fab9e82a8dd7bb8dc67484d47af95d0d..94e18e45777bb27e950f573b7d86039634fe0b4a 100644 (file)
@@ -1,5 +1,5 @@
 <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? %>
     &middot;
     <%= link_to t("browse.download_xml"), :controller => "api/old_#{@type.pluralize}", :action => :show %>