]> git.openstreetmap.org Git - rails.git/blobdiff - app/controllers/api/capabilities_controller.rb
Drop ACL check from notes#comment as we no longer allow anonymous comments
[rails.git] / app / controllers / api / capabilities_controller.rb
index 7f91557f85849b74bf749daf590dbe77aa3f582d..80222c40bd93fb622753a5d672841cbe1fa2d12d 100644 (file)
@@ -2,6 +2,7 @@ module Api
   class CapabilitiesController < ApiController
     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