X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/be0e33862fedbf02e52a9e126cac31dfb5775b43..2c497aee7a45c31ae6d1a448c35ce1b3f0ebb608:/app/controllers/api/capabilities_controller.rb?ds=sidebyside diff --git a/app/controllers/api/capabilities_controller.rb b/app/controllers/api/capabilities_controller.rb index 8337bc809..7f91557f8 100644 --- a/app/controllers/api/capabilities_controller.rb +++ b/app/controllers/api/capabilities_controller.rb @@ -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