mirror of
https://github.com/heartcombo/devise.git
synced 2022-11-09 12:18:31 -05:00
We also have sign up as a valid path name for routes
This commit is contained in:
parent
20ca0dc981
commit
03e11e4a18
1 changed files with 1 additions and 1 deletions
|
@ -93,7 +93,7 @@ This will use your User model to create a set of needed routes (you can see them
|
|||
|
||||
Options for configuring your routes include :class_name (to set the class for that route), :path_prefix, :as and :path_names, where the last two have the same meaning as in common routes. The available :path_names are:
|
||||
|
||||
devise_for :users, :as => "usuarios", :path_names => { :sign_in => 'login', :sign_out => 'logout', :password => 'secret', :confirmation => 'verification', :unlock => 'unblock' }
|
||||
devise_for :users, :as => "usuarios", :path_names => { :sign_in => 'login', :sign_out => 'logout', :sign_up => 'register', :password => 'secret', :confirmation => 'verification', :unlock => 'unblock' }
|
||||
|
||||
Be sure to check devise_for documentation for details.
|
||||
|
||||
|
|
Loading…
Reference in a new issue