]> git.openstreetmap.org Git - rails.git/blobdiff - app/controllers/browse_controller.rb
Don't user flash[:notice] when we're not redirecting as it will
[rails.git] / app / controllers / browse_controller.rb
index fd482119d91870f680b1d204dc330bec7bd7f60f..f3a04519cbd362b5f8133a1c7c079d7ef9dda7ff 100644 (file)
@@ -1,7 +1,9 @@
 class BrowseController < ApplicationController
-  before_filter :authorize_web  
   layout 'site'
 
+  before_filter :authorize_web  
+  before_filter { |c| c.check_database_availability(true) }
+
   def start 
   end