X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/a7092491b069de43bb8d8c30d3526e7095c5cc98..952188c814382b4ee0a90f6fc6084542dd113e75:/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..d311a18d2 100644 --- a/app/controllers/api/versions_controller.rb +++ b/app/controllers/api/versions_controller.rb @@ -1,7 +1,9 @@ module Api class VersionsController < ApiController + skip_before_action :check_api_readable 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