Use ActiveSupport.on_load to include CanCan::ControllerAdditions #785

Open
wants to merge 1 commit into
from

Projects

None yet

6 participants

@byroot

This way, rails-api users will not have to manually include CanCan::ControllerAdditions.

Regards.

@byroot

Fix #736

@bryanrite

👍

@byroot

Lol, I totally forgot about that one. I can't believe it haven't been fixed yet.

@gberger

+1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment