X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/be0e33862fedbf02e52a9e126cac31dfb5775b43..64b3e289ac14533c6fb2b1223b6417ad0446878c:/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