X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/b70da7b8ea15ab48bb2f34155567cea6dffc8fc9..7f611b295f39b8c42219a5ce6c84582db74ce8f7:/app/controllers/api/capabilities_controller.rb?ds=inline diff --git a/app/controllers/api/capabilities_controller.rb b/app/controllers/api/capabilities_controller.rb index 7f91557f8..b0600ca33 100644 --- a/app/controllers/api/capabilities_controller.rb +++ b/app/controllers/api/capabilities_controller.rb @@ -1,8 +1,10 @@ module Api class CapabilitiesController < ApiController + skip_before_action :check_api_readable + authorize_resource :class => false - around_action :api_call_handle_error, :api_call_timeout + before_action :set_request_formats # External apps that use the api are able to query the api to find out some # parameters of the API. It currently returns: