X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/c20160d313286739fc14e89162a3afff6ccc906f..6edb8dae058979f9c5cb198ad4f7af3f700ba84b:/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] %>