]> git.openstreetmap.org Git - rails.git/blobdiff - app/controllers/api/permissions_controller.rb
Move check_api_readable to api_controller
[rails.git] / app / controllers / api / permissions_controller.rb
index 07685ed6806546e58a795f7cdb74ba61774e9be5..717bbfa6f7fd1c23428c9d952b1e18d55ef5032b 100644 (file)
@@ -2,7 +2,6 @@ module Api
   class PermissionsController < ApiController
     authorize_resource :class => false
 
-    before_action :check_api_readable
     before_action :setup_user_auth
     before_action :set_request_formats
     around_action :api_call_handle_error, :api_call_timeout