X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/5620d7263a36fe842f4d97bc21dda5edd0651b37..d9e070e06956801aba2378c1b79b4d9f13ae12ee:/app/controllers/browse_controller.rb?ds=sidebyside diff --git a/app/controllers/browse_controller.rb b/app/controllers/browse_controller.rb index fd482119d..f3a04519c 100644 --- a/app/controllers/browse_controller.rb +++ b/app/controllers/browse_controller.rb @@ -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