From 7dc1842cc43df4b5c79b8dec8e9e605743a46d1d Mon Sep 17 00:00:00 2001 From: Antonio Tapiador del Dujo Date: Tue, 25 May 2010 18:36:11 +0800 Subject: [PATCH] Add note about default routes in devise configuration --- lib/generators/devise_install/templates/devise.rb | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lib/generators/devise_install/templates/devise.rb b/lib/generators/devise_install/templates/devise.rb index c1dad48f..d85d7818 100644 --- a/lib/generators/devise_install/templates/devise.rb +++ b/lib/generators/devise_install/templates/devise.rb @@ -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