]> git.openstreetmap.org Git - rails.git/blobdiff - app/controllers/browse_controller.rb
Doing a resync from mainline 8633:10895. There was one simple to resolve conflict...
[rails.git] / app / controllers / browse_controller.rb
index fd482119d91870f680b1d204dc330bec7bd7f60f..f3a04519cbd362b5f8133a1c7c079d7ef9dda7ff 100644 (file)
@@ -1,7 +1,9 @@
 class BrowseController < ApplicationController
 class BrowseController < ApplicationController
-  before_filter :authorize_web  
   layout 'site'
 
   layout 'site'
 
+  before_filter :authorize_web  
+  before_filter { |c| c.check_database_availability(true) }
+
   def start 
   end
   
   def start 
   end