]> git.openstreetmap.org Git - rails.git/blobdiff - app/controllers/application_controller.rb
Fix problems with database offline mode
[rails.git] / app / controllers / application_controller.rb
index 619ef981a61ba8260248368f681b04a6136e246a..655017847b81c34d200aac05d707d204de0c017e 100644 (file)
@@ -4,6 +4,9 @@ class ApplicationController < ActionController::Base
 
   if STATUS == :database_readonly or STATUS == :database_offline
     session :off
+
+    def self.cache_sweeper(*sweepers)
+    end
   end
 
   def authorize_web