X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/a3eb48385bcf1465339d473c0c1657e075cd507d..3af16f6337b52546297e7e09a1aba9b0e1df7e15:/app/views/browse/feature.html.erb diff --git a/app/views/browse/feature.html.erb b/app/views/browse/feature.html.erb index 38657f4d1..6c94b0a9d 100644 --- a/app/views/browse/feature.html.erb +++ b/app/views/browse/feature.html.erb @@ -8,7 +8,7 @@ <%= render :partial => @type, :object => @feature %>
- <%= link_to(t('browse.download_xml'), :controller => @type, :action => "read") %> + <%= link_to(t("browse.download_xml"), :controller => "api/#{@type.pluralize}", :action => :show) %> · - <%= link_to(t('browse.view_history'), :action => "#{@type}_history") %> + <%= link_to(t("browse.view_history"), :action => "#{@type}_history") %>