]> git.openstreetmap.org Git - rails.git/blobdiff - app/views/changesets/show.html.erb
Create api changeset download resource
[rails.git] / app / views / changesets / show.html.erb
index 702e61f9287bbe8e9a8e3311857e308b3251ed53..2de744a9383d4c5bc0f63a1b45b25c6baba65721 100644 (file)
 <div class='secondary-actions'>
   <%= link_to t(".changesetxml"), api_changeset_path(@changeset) %>
   &middot;
 <div class='secondary-actions'>
   <%= link_to t(".changesetxml"), api_changeset_path(@changeset) %>
   &middot;
-  <%= link_to(t(".osmchangexml"), :controller => "api/changesets", :action => "download") %>
+  <%= link_to t(".osmchangexml"), api_changeset_download_path(@changeset) %>
 </div>
 
 <% if @next_by_user || @prev_by_user %>
 </div>
 
 <% if @next_by_user || @prev_by_user %>