Return user to original page after logging in (rails session mgmt)

Posted by keruilin on Stack Overflow See other posts from Stack Overflow or by keruilin
Published on 2010-05-15T21:00:41Z Indexed on 2010/05/15 21:04 UTC
Read the original article Hit count: 143

Filed under:
|

I'm looking for some general guidance as to how to return a user back to the original page they were viewing after trying to log-in.

The way I have the site setup now is that if a user visits the Store page, for example, and then clicks the login button in the upper right, the user is returned to the default landing page.

Any help would be greatly appreciated!

© Stack Overflow or respective owner

Related posts about ruby-on-rails

Related posts about session