]> git.openstreetmap.org Git - rails.git/blobdiff - app/controllers/api/changes_controller.rb
Fix new rubocop warnings
[rails.git] / app / controllers / api / changes_controller.rb
index c9195e1d9b97f6335a34a82f6f00d16e4724deca..7170e15622468037a6c2a210d7cdce6e7091e36c 100644 (file)
@@ -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