X-Git-Url: https://git.openstreetmap.org/rails.git/blobdiff_plain/44eea9dcaf42cdd0737ae9344e357901c9fe31b6..1e30edba53f179fb06a1233b245252d1d5a8ead1:/app/controllers/browse_controller.rb?ds=sidebyside diff --git a/app/controllers/browse_controller.rb b/app/controllers/browse_controller.rb index 6eb967568..0fccbb506 100644 --- a/app/controllers/browse_controller.rb +++ b/app/controllers/browse_controller.rb @@ -6,6 +6,7 @@ class BrowseController < ApplicationController before_action(:except => [:query]) { |c| c.check_database_readable(true) } before_action :require_oauth around_action :web_timeout + authorize_resource :class => false def relation @type = "relation"