]> git.openstreetmap.org Git - rails.git/blobdiff - app/views/browse/feature.html.erb
Pluralize nodes, ways and relations controllers
[rails.git] / app / views / browse / feature.html.erb
index 38657f4d1fb8f976868bb375b94e0feb206b7088..c3fadbe312e26a516fcb2d623f9bc3cf0a48dc75 100644 (file)
@@ -8,7 +8,7 @@
 <%= render :partial => @type, :object => @feature %>
 
 <div class='secondary-actions'>
-  <%= link_to(t('browse.download_xml'), :controller => @type, :action => "read") %>
+  <%= link_to(t('browse.download_xml'), :controller => @type.pluralize, :action => "read") %>
   &middot;
   <%= link_to(t('browse.view_history'), :action => "#{@type}_history") %>
 </div>