Skip to content
This repository has been archived by the owner on Dec 12, 2021. It is now read-only.
ramon edited this page Sep 16, 2011 · 4 revisions

You can bypass Cancan 2.0's authorization for Devise controllers similar to Cancan 1.6:

class ApplicationController < ActionController::Base
  protect_from_forgery
  check_authorization :unless => :devise_controller?
end