X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/550c4a3a45814fde5c809334c85f1ebc47659a82..d8cca976c023b43f8bb1f1ef08a494790f6eef36:/app/controllers/api/versions_controller.rb 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