In my header part i have a link for “change password”. In that chage
password page i need to place link which takes us to the back page.
Note: The problem is user my click on the change password link from any
of the page in the site.
Please let me know if there is any command in rails which gives us the
last visited page.