From 073c866032becb668c2b7c3b7883b7601f282c0b Mon Sep 17 00:00:00 2001 From: Shaun McDonald Date: Tue, 2 Dec 2008 18:44:50 +0000 Subject: [PATCH] adding link to download the full changeset xml --- app/controllers/changeset_controller.rb | 3 +++ app/views/browse/changeset.rhtml | 3 ++- 2 files changed, 5 insertions(+), 1 deletion(-) 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" %> -- 2.43.2