]> git.openstreetmap.org Git - rails.git/blobdiff - app/controllers/old_node_controller.rb
Add a "database readonly" state that allows all writes to the database
[rails.git] / app / controllers / old_node_controller.rb
index e27898336361832ed193c9d1b3c8de04ddb14a41..40f4093e3d99171105c3a0a532e551cbb7a1222c 100644 (file)
@@ -2,7 +2,7 @@ class OldNodeController < ApplicationController
   require 'xml/libxml'
 
   session :off
-  before_filter :check_read_availability
+  before_filter :check_api_readable
   after_filter :compress_output
 
   def history