X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/73214da35de30b3466cf8d0ab751955ec9292ec4..32c3000af7c2c4016b75abf5a396262e28aabd72:/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