checked for ActionContoller::Base instead of just ActionContoller
This commit is contained in:
@@ -382,7 +382,7 @@ module CanCan
|
||||
end
|
||||
end
|
||||
|
||||
if defined? ActionController
|
||||
if defined? ActionController::Base
|
||||
ActionController::Base.class_eval do
|
||||
include CanCan::ControllerAdditions
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user