Hello, Our app currently has an admin/logins/login_by_admin action. It basically allows the admin to login as a regular user of the system from the list of users in the backend. However, it clutters the logins controller. I was thinking on ways to clean up this design and make it more RESTful. One approach is to use the login.new action with an additional param (like from_admin = true). The other option is to turn login_by_admin into it's own resource and put the logic into its new method. What do you think?
Thanks, Marcelo. --~--~---------~--~----~------------~-------~--~----~ 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 [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---

