]> 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 e72c97a0078022650a8484d08c070b7d67fed6c7..3d913c0f7660ce49b86a251bf3a19ccc4918d229 100644 (file)
@@ -2,7 +2,7 @@ class OldWayController < ApplicationController
   require 'xml/libxml'
 
   session :off
-  before_filter :check_read_availability
+  before_filter :check_api_readable
   after_filter :compress_output
 
   def history