module Api
- class CapabilitiesController < ApplicationController
- skip_before_action :verify_authenticity_token
- before_action :api_deny_access_handler
+ class CapabilitiesController < ApiController
+ skip_before_action :check_api_readable
authorize_resource :class => false
+ before_action :set_request_formats
around_action :api_call_handle_error, :api_call_timeout
# External apps that use the api are able to query the api to find out some