X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/1ffb5c1502d870a1d1c46648ea0c165e25dfbef9..e5674abd2c9b0359b06c281804f7286e22b9a258:/app/controllers/changeset_controller.rb diff --git a/app/controllers/changeset_controller.rb b/app/controllers/changeset_controller.rb index 58bcd1020..f7f4dc9f0 100644 --- a/app/controllers/changeset_controller.rb +++ b/app/controllers/changeset_controller.rb @@ -3,6 +3,7 @@ class ChangesetController < ApplicationController require 'xml/libxml' + session :off before_filter :authorize, :only => [:create, :update, :delete, :upload, :include, :close] before_filter :check_write_availability, :only => [:create, :update, :delete, :upload, :include] before_filter :check_read_availability, :except => [:create, :update, :delete, :upload, :download, :query] @@ -31,6 +32,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])