]> git.openstreetmap.org Git - rails.git/blobdiff - app/views/browse/history.html.erb
Patch broken polyfill feature test
[rails.git] / app / views / browse / history.html.erb
index 5f5dd4db3274b789890cac68a562ad72cfd3e191..0a2c1811c0d72c64465a163f2570c43ac17c9388 100644 (file)
@@ -8,7 +8,7 @@
 <%= render :partial => @type, :collection => @feature.send("old_#{@type}s").reverse %>
 
 <div class='secondary-actions'>
-  <%= link_to(t('browse.download_xml'), :controller => "old_#{@type}", :action => "history") %>
+  <%= link_to(t("browse.download_xml"), :controller => "api/old_#{@type.pluralize}", :action => "history") %>
   &middot;
-  <%= link_to(t('browse.view_details'), :action => @type) %>
+  <%= link_to(t("browse.view_details"), :action => @type) %>
 </div>