X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/0e2a66e8de55b3719bd307261058b7f898598994..40589960bead84a691fd38230be82b6922921445:/app/controllers/browse_controller.rb?ds=sidebyside diff --git a/app/controllers/browse_controller.rb b/app/controllers/browse_controller.rb index 1bbf85adc..50d0ae0a5 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 -> { check_database_readable(true) } + before_action -> { check_database_readable(:need_api => true) } before_action :require_oauth around_action :web_timeout authorize_resource :class => false