Simplify deny_access handling
[rails.git] / app / controllers / api / permissions_controller.rb
index 15f3812674ab3bd520cf52e04ad94b302498ba82..9b168e04b568e5c1f880f0f2a035a11f1dc74c44 100644 (file)
@@ -1,7 +1,5 @@
 module Api
   class PermissionsController < ApiController
-    before_action :api_deny_access_handler
-
     authorize_resource :class => false
 
     before_action :check_api_readable