cancan icon indicating copy to clipboard operation
cancan copied to clipboard

Use ActiveSupport.on_load to include CanCan::ControllerAdditions

Open byroot opened this issue 12 years ago • 7 comments

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

Regards.

byroot avatar Nov 24 '12 18:11 byroot

Fix #736

byroot avatar Jan 07 '13 06:01 byroot

+1

tylerkahn avatar Jan 07 '13 07:01 tylerkahn

:+1:

bryanrite avatar Jan 14 '13 16:01 bryanrite

+1

8bithero avatar Jan 20 '14 21:01 8bithero

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

byroot avatar Jan 20 '14 21:01 byroot

+1

gberger avatar Feb 18 '14 11:02 gberger

This problem still occurs in Rails api-only when extending ActionController::API

mateusluizfb avatar Feb 06 '18 14:02 mateusluizfb