mirror of
https://github.com/heartcombo/devise.git
synced 2022-11-09 12:18:31 -05:00
Add note about default routes in devise configuration
This commit is contained in:
parent
28b10e397f
commit
7dc1842cc4
1 changed files with 2 additions and 0 deletions
|
@ -100,6 +100,8 @@ Devise.setup do |config|
|
||||||
# accessing "/users/sign_in", it knows you are accessing an User. This makes
|
# accessing "/users/sign_in", it knows you are accessing an User. This makes
|
||||||
# routes as "/sign_in" not possible, unless you tell Devise to use the default
|
# routes as "/sign_in" not possible, unless you tell Devise to use the default
|
||||||
# scope, setting true below.
|
# scope, setting true below.
|
||||||
|
# Note that devise does not generate default routes. You also have to
|
||||||
|
# specify them in config/routes.rb
|
||||||
# config.use_default_scope = true
|
# config.use_default_scope = true
|
||||||
|
|
||||||
# Configure the default scope used by Devise. By default it's the first devise
|
# Configure the default scope used by Devise. By default it's the first devise
|
||||||
|
|
Loading…
Reference in a new issue