Ruby on Rails
Wednesday, September 26, 2012
Is gem "switch_user" really useful ?
Because it needs devise I guess ?
On Thursday, September 27, 2012 9:35:23 AM UTC+5:30, JavierQQ wrote:
--On Sep 26, 2012, at 4:58 AM, Avi wrote:
> Hello,
>
> I have an interesting requirement. Don't know how to do it.
> I have an Admin, which can see a list of users.
> All the users will have a button (Login).
> The Admin can click on the Login button to to access the user's account.
> If Admin does this he will be logged out of his account. But how to access back his own account if he tries to come out of that user's account?
>I'm not sure if this can help:but I saw that once when I was looking in devise wiki and I recall now.Javier
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msg/rubyonrails-talk/-/67uX1QzkoFcJ.
For more options, visit https://groups.google.com/groups/opt_out.
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment