]> git.openstreetmap.org Git - rails.git/blobdiff - app/controllers/api/relations_controller.rb
Refactor api controllers to inherit from a common ApiController
[rails.git] / app / controllers / api / relations_controller.rb
index a0740b382819f720d59013a3b70157834428c758..6f52f2f946a119c7d915f8586b4b7c7e4b09d495 100644 (file)
@@ -1,8 +1,7 @@
 module Api
-  class RelationsController < ApplicationController
+  class RelationsController < ApiController
     require "xml/libxml"
 
-    skip_before_action :verify_authenticity_token
     before_action :authorize, :only => [:create, :update, :delete]
     before_action :api_deny_access_handler