]> git.openstreetmap.org Git - rails.git/blobdiff - app/controllers/api/capabilities_controller.rb
Merge branch 'drop-oauth1'
[rails.git] / app / controllers / api / capabilities_controller.rb
index 68968d107c3a0fc2e447ca560b4bab7d0e5acdc9..cbdcace0cd80b1a7c87ea47535b2cb81328b75fa 100644 (file)
@@ -1,9 +1,10 @@
 module Api
   class CapabilitiesController < ApiController
-    before_action :api_deny_access_handler
+    skip_before_action :check_api_readable
 
     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