X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/3bb07e29ec7c178757f3c94eea84935a554d812d..3734cff2bab6dd2e6527d991bf70cf9d52f026d4:/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 68968d107..80222c40b 100644 --- a/app/controllers/api/capabilities_controller.rb +++ b/app/controllers/api/capabilities_controller.rb @@ -1,9 +1,8 @@ module Api class CapabilitiesController < ApiController - before_action :api_deny_access_handler - authorize_resource :class => false + before_action :set_request_formats around_action :api_call_handle_error, :api_call_timeout # External apps that use the api are able to query the api to find out some