]> git.openstreetmap.org Git - rails.git/blobdiff - app/controllers/api/capabilities_controller.rb
Allow administrators to see deleted diary entries
[rails.git] / app / controllers / api / capabilities_controller.rb
index 8337bc8091ee6d1229f5727fca88cb42cc41f54e..7f91557f85849b74bf749daf590dbe77aa3f582d 100644 (file)
@@ -1,8 +1,5 @@
 module Api
-  class CapabilitiesController < ApplicationController
-    skip_before_action :verify_authenticity_token
-    before_action :api_deny_access_handler
-
+  class CapabilitiesController < ApiController
     authorize_resource :class => false
 
     around_action :api_call_handle_error, :api_call_timeout