X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/b70da7b8ea15ab48bb2f34155567cea6dffc8fc9..6cd694431ed325ce2013e9732b640234610271cc:/app/controllers/api/versions_controller.rb?ds=inline diff --git a/app/controllers/api/versions_controller.rb b/app/controllers/api/versions_controller.rb index 7de335091..d5c9c5f87 100644 --- a/app/controllers/api/versions_controller.rb +++ b/app/controllers/api/versions_controller.rb @@ -2,6 +2,7 @@ module Api class VersionsController < ApiController authorize_resource :class => false + before_action :set_request_formats around_action :api_call_handle_error, :api_call_timeout # Show the list of available API versions. This will replace the global