Skip to content


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Merge pull request #11 from kjohnston/document-redirects

Add documentation for redirections.
  • Loading branch information...
commit f6576b734ca5a0ec42dfcd3afde3e0b388bbd5c6 2 parents 242dfd6 + 87f0cd9
@phlipper phlipper authored
Showing with 9 additions and 0 deletions.
  1. +9 −0
@@ -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.
* Add "forgot password" functionality
Please sign in to comment.
Something went wrong with that request. Please try again.