]> git.openstreetmap.org Git - rails.git/blobdiff - app/controllers/api/capabilities_controller.rb
Remove unused not_an_admin locale string
[rails.git] / app / controllers / api / capabilities_controller.rb
index 80222c40bd93fb622753a5d672841cbe1fa2d12d..cbdcace0cd80b1a7c87ea47535b2cb81328b75fa 100644 (file)
@@ -1,5 +1,7 @@
 module Api
   class CapabilitiesController < ApiController
 module Api
   class CapabilitiesController < ApiController
+    skip_before_action :check_api_readable
+
     authorize_resource :class => false
 
     before_action :set_request_formats
     authorize_resource :class => false
 
     before_action :set_request_formats