Closed cthielen closed 12 years ago
In order to allow admin users to impersonate other users, I wrote an allowed_to? that tries to call permitted_to? if there is no impersonation occurring. However, permitted_to?, from a controller, seems to return nothing at all.
Any idea what's going on?
In order to allow admin users to impersonate other users, I wrote an allowed_to? that tries to call permitted_to? if there is no impersonation occurring. However, permitted_to?, from a controller, seems to return nothing at all.
Any idea what's going on?