X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/9174049d6b4e50c32ba1a11b1c628bcfe32c06bf..423ae5f8e048c91c00d7c46c05c7b529cbe2f9c7:/app/controllers/api/capabilities_controller.rb?ds=sidebyside diff --git a/app/controllers/api/capabilities_controller.rb b/app/controllers/api/capabilities_controller.rb index 80222c40b..cbdcace0c 100644 --- a/app/controllers/api/capabilities_controller.rb +++ b/app/controllers/api/capabilities_controller.rb @@ -1,5 +1,7 @@ module Api class CapabilitiesController < ApiController + skip_before_action :check_api_readable + authorize_resource :class => false before_action :set_request_formats