X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/d887252eeb49f905a979c21f2559c85d9a0455bd..0baa293699cf6efaea979b342ec877af522213ca:/app/controllers/api/changes_controller.rb diff --git a/app/controllers/api/changes_controller.rb b/app/controllers/api/changes_controller.rb index c9195e1d9..7170e1562 100644 --- a/app/controllers/api/changes_controller.rb +++ b/app/controllers/api/changes_controller.rb @@ -1,8 +1,5 @@ module Api - class ChangesController < ApplicationController - skip_before_action :verify_authenticity_token - before_action :api_deny_access_handler - + class ChangesController < ApiController authorize_resource :class => false before_action :check_api_readable