]> git.openstreetmap.org Git - rails.git/blobdiff - app/controllers/api/changeset_comments_controller.rb
Refactor api controllers to inherit from a common ApiController
[rails.git] / app / controllers / api / changeset_comments_controller.rb
index 0bebce433666f5d7d0fbbfa4854517c3b281efdf..db90dcbe3f3c88e00916a5aca3df9eea762e3bb6 100644 (file)
@@ -1,6 +1,5 @@
 module Api
 module Api
-  class ChangesetCommentsController < ApplicationController
-    skip_before_action :verify_authenticity_token
+  class ChangesetCommentsController < ApiController
     before_action :authorize
     before_action :api_deny_access_handler
 
     before_action :authorize
     before_action :api_deny_access_handler