Ok, authorize!
is a addition for ActionController::Base
, see this source
you can define own Grape helper:
class API < Grape::API
helpers do
def authorize!(*args)
# you already implement current_user helper :)
::Ability.new(current_user).authorize!(*args)
end
end
end
or use module helper: helpers CanCan::ControllerAdditions
(btw, I don't think is a good idea)