]> git.openstreetmap.org Git - rails.git/blobdiff - app/controllers/api/nodes_controller.rb
erblint: Add or remove curly braces around hash parameters as required
[rails.git] / app / controllers / api / nodes_controller.rb
index 4e46b38d56461c94f50f162169623f1f2ff8a05a..5218159c16097f61b921e07d63d0ea7cee1ff601 100644 (file)
@@ -1,12 +1,10 @@
 # The NodeController is the RESTful interface to Node objects
 
 module Api
-  class NodesController < ApplicationController
+  class NodesController < ApiController
     require "xml/libxml"
 
-    skip_before_action :verify_authenticity_token
     before_action :authorize, :only => [:create, :update, :delete]
-    before_action :api_deny_access_handler
 
     authorize_resource