We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
If you're using the rails-api gem, you'll need to manually include the controller methods for CanCan
rails-api
class ApplicationController < ActionController::API include CanCan::ControllerAdditions end
You can then use CanCan as usual.