]> git.openstreetmap.org Git - rails.git/blobdiff - app/controllers/api/capabilities_controller.rb
Refactor api controllers to inherit from a common ApiController
[rails.git] / app / controllers / api / capabilities_controller.rb
index 8337bc8091ee6d1229f5727fca88cb42cc41f54e..68968d107c3a0fc2e447ca560b4bab7d0e5acdc9 100644 (file)
@@ -1,6 +1,5 @@
 module Api
 module Api
-  class CapabilitiesController < ApplicationController
-    skip_before_action :verify_authenticity_token
+  class CapabilitiesController < ApiController
     before_action :api_deny_access_handler
 
     authorize_resource :class => false
     before_action :api_deny_access_handler
 
     authorize_resource :class => false