X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/6f89da05d1741ac66deab93aea64b76dc1e9b8fb..91194cf354195002d75b22468745912204d6d23f:/app/controllers/browse_controller.rb diff --git a/app/controllers/browse_controller.rb b/app/controllers/browse_controller.rb index 41fa14aae..b4cb4594f 100644 --- a/app/controllers/browse_controller.rb +++ b/app/controllers/browse_controller.rb @@ -3,7 +3,7 @@ class BrowseController < ApplicationController before_action :authorize_web before_action :set_locale - before_action :except => [:query] { |c| c.check_database_readable(true) } + before_action(:except => [:query]) { |c| c.check_database_readable(true) } before_action :require_oauth around_action :web_timeout