]> git.openstreetmap.org Git - rails.git/blobdiff - app/controllers/changeset_controller.rb
Making amf controller act more like the xml apis
[rails.git] / app / controllers / changeset_controller.rb
index 58bcd1020f15598d21b73ac4c55c7a312a9798ec..f7f4dc9f0ac2ef46fa2094dda96dd322d60185da 100644 (file)
@@ -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])