Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Updated README for better layout of modification of previous commit

  • Loading branch information...
commit 13968f49af306c8bc2111912f334e385405564a1 1 parent 1b05d8c
@rpechayr rpechayr authored josevalim committed
Showing with 8 additions and 4 deletions.
  1. +8 −4 README.rdoc
View
12 README.rdoc
@@ -140,10 +140,14 @@ You can access the session for this scope:
user_session
Assume your devise model is not called 'user' but 'member' for example. Then the helpers you should use should be:
-* before_filter :authenticate_member!
-* member_signed_in?
-* current_member
-* member_session
+
+ before_filter :authenticate_member!
+
+ member_signed_in?
+
+ current_member
+
+ member_session
After signing in a user, confirming the account or updating the password, Devise will look for a scoped root path to redirect. Example: For a :user resource, it will use user_root_path if it exists, otherwise default root_path will be used. This means that you need to set the root inside your routes:
Please sign in to comment.
Something went wrong with that request. Please try again.