Our app currently has an admin/logins/login_by_admin action. It
allows the admin to login as a regular user of the system from the list
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
resource and put the logic into its new method. What do you think?