Open vincentcordel opened 8 years ago
Hi there,
I have a problem securing the access in my backend. I'm not using Devise but a custom auth (based on M.Hartl's tutorial) with cancancan.
Ideally, I'd like to do the same than my other routes/controllers using load_and_authorize_resource and the can :manage of cancancan.
I'm really confused on how to do this, even more after reading different posts about the subject. The examples provided didn't really help.
Any ideas on how to solve this?
Thanks!
Hi there,
I have a problem securing the access in my backend. I'm not using Devise but a custom auth (based on M.Hartl's tutorial) with cancancan.
Ideally, I'd like to do the same than my other routes/controllers using load_and_authorize_resource and the can :manage of cancancan.
I'm really confused on how to do this, even more after reading different posts about the subject. The examples provided didn't really help.
Any ideas on how to solve this?
Thanks!