]> git.openstreetmap.org Git - rails.git/blobdiff - app/controllers/old_way_controller.rb
Add a "database readonly" state that allows all writes to the database
[rails.git] / app / controllers / old_way_controller.rb
index 16db86555363494a6024f0dfcfd983f1023b11b6..3d913c0f7660ce49b86a251bf3a19ccc4918d229 100644 (file)
@@ -1,6 +1,8 @@
 class OldWayController < ApplicationController
   require 'xml/libxml'
 
+  session :off
+  before_filter :check_api_readable
   after_filter :compress_output
 
   def history