X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/be0e33862fedbf02e52a9e126cac31dfb5775b43..db630762476d81af2aa2466cb2a036f7d7eaec75:/app/controllers/api/changes_controller.rb?ds=sidebyside 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