]> git.openstreetmap.org Git - rails.git/blobdiff - app/views/browse/feature.html.erb
Merge pull request #2266 from systemed/patch-2
[rails.git] / app / views / browse / feature.html.erb
index 5674f21b08af018a16be415be697abb45fee47d6..6c94b0a9dfd50aa8dab39c5ec33611c29c4abd2e 100644 (file)
@@ -8,7 +8,7 @@
 <%= render :partial => @type, :object => @feature %>
 
 <div class='secondary-actions'>
-  <%= link_to(t('browse.download_xml'), :controller => @type.pluralize, :action => :show) %>
+  <%= link_to(t("browse.download_xml"), :controller => "api/#{@type.pluralize}", :action => :show) %>
   &middot;
-  <%= link_to(t('browse.view_history'), :action => "#{@type}_history") %>
+  <%= link_to(t("browse.view_history"), :action => "#{@type}_history") %>
 </div>