X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/73214da35de30b3466cf8d0ab751955ec9292ec4..21adea321b6c705b0e0eb7acc667566869b3015d:/app/controllers/api/permissions_controller.rb diff --git a/app/controllers/api/permissions_controller.rb b/app/controllers/api/permissions_controller.rb index b24aca776..9b168e04b 100644 --- a/app/controllers/api/permissions_controller.rb +++ b/app/controllers/api/permissions_controller.rb @@ -1,8 +1,5 @@ module Api - class PermissionsController < ApplicationController - skip_before_action :verify_authenticity_token - before_action :api_deny_access_handler - + class PermissionsController < ApiController authorize_resource :class => false before_action :check_api_readable