X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/a66c34991acfff398fbc83c921dfce18a835ee26..257f4673e1dd86a3704f6a965e5e077283a04a00:/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..15cde9d6d 100644 --- a/app/controllers/api/versions_controller.rb +++ b/app/controllers/api/versions_controller.rb @@ -1,8 +1,9 @@ module Api class VersionsController < 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 # Show the list of available API versions. This will replace the global # unversioned capabilities call in due course.