Skip to content
This repository has been archived by the owner on Oct 3, 2018. It is now read-only.

Commit

Permalink
Merge pull request #11 from kjohnston/document-redirects
Browse files Browse the repository at this point in the history
Add documentation for redirections.
  • Loading branch information
phlipper committed Oct 13, 2012
2 parents 242dfd6 + 87f0cd9 commit f6576b7
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions README.md
Expand Up @@ -119,6 +119,15 @@ Using the example above, you will have the following routes locally:
* `logout_url` points to "/logout" - Make sure to use the `delete` method to logout.


### Redirection

You can customize the paths used to redirect users after login, logout and registration by overriding the corresponding methods in your ApplicationController, or specific controllers, as needed.

* `after_login_path` is used after the user logs in.
* `after_logout_path` is used after the user logs out.
* `after_registration_path` is used after the user registers.


## TODO

* Add "forgot password" functionality
Expand Down

0 comments on commit f6576b7

Please sign in to comment.