Skip to content
sethvargo edited this page Sep 28, 2012 · 1 revision

If you're using the rails-api gem, you'll need to manually include the controller methods for CanCan

class ApplicationController < ActionController::API
  include CanCan::ControllerAdditions
end

You can then use CanCan as usual.