X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/dcfe326f6515cc7aeb9c02b7536e69863c60cd01..3e69a4512f2d1b39f48719882a0d112d042da73a:/app/controllers/api/capabilities_controller.rb diff --git a/app/controllers/api/capabilities_controller.rb b/app/controllers/api/capabilities_controller.rb index 7f91557f8..80222c40b 100644 --- a/app/controllers/api/capabilities_controller.rb +++ b/app/controllers/api/capabilities_controller.rb @@ -2,6 +2,7 @@ module Api class CapabilitiesController < ApiController 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