1
0
Fork 0
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:
Antonio Tapiador del Dujo 2010-05-25 18:36:11 +08:00 committed by José Valim
parent 28b10e397f
commit 7dc1842cc4

View file

@ -100,6 +100,8 @@ Devise.setup do |config|
# 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
# 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
# Configure the default scope used by Devise. By default it's the first devise