]> git.openstreetmap.org Git - rails.git/blobdiff - app/controllers/api/swf_controller.rb
Refactor api controllers to inherit from a common ApiController
[rails.git] / app / controllers / api / swf_controller.rb
index d48731b7023404cf72c7c388a6affd988502e718..2f8a5392da459274b423468d52664db6ad51b270 100644 (file)
@@ -1,6 +1,5 @@
 module Api
-  class SwfController < ApplicationController
-    skip_before_action :verify_authenticity_token
+  class SwfController < ApiController
     before_action :check_api_readable
     authorize_resource :class => false