I have need to display two distinguishing types of information on the
login.rhtml view, one for a hunter and the other for a recruiter. The
are both based on the same user model that acts as authenticated has
Each of the methods hunter/index and recruiter/index redirect me to
account/login when I need to login to the system. I need a way to
find out from what the controller was before it hit the account/login
redirect, either it was recruiter or hunter.
Is there a way of doing getting the name of the controller before that
redirect and accessing it from the account/login view?