mirror of
https://github.com/heartcombo/devise.git
synced 2022-11-09 12:18:31 -05:00
Fix password and confirmation routes in README.
This commit is contained in:
parent
ab576ee571
commit
37fc8d5064
1 changed files with 10 additions and 10 deletions
14
README.rdoc
14
README.rdoc
|
@ -80,15 +80,15 @@ This is going to look inside you User model and create the needed routes:
|
|||
destroy_user_session GET /users/sign_out {:controller=>"sessions", :action=>"destroy"}
|
||||
|
||||
# Password routes for Recoverable, if User model has :recoverable configured
|
||||
new_user_password GET /user/password/new(.:format) {:controller=>"passwords", :action=>"new"}
|
||||
edit_user_password GET /user/password/edit(.:format) {:controller=>"passwords", :action=>"edit"}
|
||||
user_password PUT /user/password(.:format) {:controller=>"passwords", :action=>"update"}
|
||||
POST /user/password(.:format) {:controller=>"passwords", :action=>"create"}
|
||||
new_user_password GET /users/password/new(.:format) {:controller=>"passwords", :action=>"new"}
|
||||
edit_user_password GET /users/password/edit(.:format) {:controller=>"passwords", :action=>"edit"}
|
||||
user_password PUT /users/password(.:format) {:controller=>"passwords", :action=>"update"}
|
||||
POST /users/password(.:format) {:controller=>"passwords", :action=>"create"}
|
||||
|
||||
# Confirmation routes for Confirmable, if User model has :confirmable configured
|
||||
new_user_confirmation GET /user/confirmation/new(.:format) {:controller=>"confirmations", :action=>"new"}
|
||||
user_confirmation GET /user/confirmation(.:format) {:controller=>"confirmations", :action=>"show"}
|
||||
POST /user/confirmation(.:format) {:controller=>"confirmations", :action=>"create"}
|
||||
new_user_confirmation GET /users/confirmation/new(.:format) {:controller=>"confirmations", :action=>"new"}
|
||||
user_confirmation GET /users/confirmation(.:format) {:controller=>"confirmations", :action=>"show"}
|
||||
POST /users/confirmation(.:format) {:controller=>"confirmations", :action=>"create"}
|
||||
|
||||
You can run the routes rake task to verify what routes are being created by devise.
|
||||
There are also some options available for configuring your routes:
|
||||
|
|
Loading…
Reference in a new issue