X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/b8a1a904c6273252c56998178b69f5f65d744d69..c446ca287b7dfa79cf1722ffe950f9a38e4f74d3:/app/views/old_elements/index.html.erb diff --git a/app/views/old_elements/index.html.erb b/app/views/old_elements/index.html.erb index d4ecbfa60..eaf7787fa 100644 --- a/app/views/old_elements/index.html.erb +++ b/app/views/old_elements/index.html.erb @@ -5,7 +5,7 @@ <%= render :partial => "browse/#{@type}", :collection => @feature.send(:"old_#{@type}s").reverse %>
- <%= link_to t("browse.download_xml"), :controller => "api/old_#{@type.pluralize}", :action => "history" %> + <%= link_to t("browse.download_xml"), send(:"api_#{@type}_versions_path", @feature.id) %> · <%= link_to t("browse.view_details"), :controller => @type.pluralize, :action => :show %> <% if params[:show_redactions] %>