]> git.openstreetmap.org Git - rails.git/blobdiff - app/controllers/api/ways_controller.rb
Simplify deny_access handling
[rails.git] / app / controllers / api / ways_controller.rb
index 8684c5cfb13a9ea3575af5838b6c89df3887aeae..5e3e5e11ab1d511dea0882b5c455fa59c520f25b 100644 (file)
@@ -1,10 +1,8 @@
 module Api
-  class WaysController < ApplicationController
+  class WaysController < 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