From: Shaun McDonald Date: Tue, 2 Dec 2008 18:44:50 +0000 (+0000) Subject: adding link to download the full changeset xml X-Git-Tag: live~7573^2~118 X-Git-Url: https://git.openstreetmap.org/rails.git/commitdiff_plain/073c866032becb668c2b7c3b7883b7601f282c0b adding link to download the full changeset xml --- diff --git a/app/controllers/changeset_controller.rb b/app/controllers/changeset_controller.rb index 58bcd1020..ff956f2ac 100644 --- a/app/controllers/changeset_controller.rb +++ b/app/controllers/changeset_controller.rb @@ -31,6 +31,9 @@ class ChangesetController < ApplicationController end end + ## + # Return XML giving the basic info about the changeset. Does not + # return anything about the nodes, ways and relations in the changeset. def read begin changeset = Changeset.find(params[:id]) diff --git a/app/views/browse/changeset.rhtml b/app/views/browse/changeset.rhtml index 9345eb087..57e39db99 100644 --- a/app/views/browse/changeset.rhtml +++ b/app/views/browse/changeset.rhtml @@ -11,7 +11,8 @@ <%= render :partial => "changeset_details", :object => @changeset %>
- <%= link_to "Download XML", :controller => "changeset", :action => "read" %> + <%= link_to "Download Changeset XML", :controller => "changeset", :action => "read" %> | + <%= link_to "Download osmChange XML", :controller => "changeset", :action => "download" %>