X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/73fe5a13df75ffbe12002fbd7ebc71744d2ae07b..b7893df84ed0de89bff772cd9bf94caf8fcfc383:/app/controllers/browse_controller.rb?ds=sidebyside diff --git a/app/controllers/browse_controller.rb b/app/controllers/browse_controller.rb index 0fccbb506..ebdd2cd80 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 -> { check_database_readable(true) } before_action :require_oauth around_action :web_timeout authorize_resource :class => false