From d97b577a1bee80bd79209d2e6d501d1cd93debcc Mon Sep 17 00:00:00 2001 From: Brett Walker Date: Sun, 24 Sep 2017 19:52:49 +0200 Subject: must now set the devise default scope (since we now have an :email scope) and rubocop fixes --- config/initializers/devise.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'config') diff --git a/config/initializers/devise.rb b/config/initializers/devise.rb index 3aed2136f1b..2ca02c16497 100644 --- a/config/initializers/devise.rb +++ b/config/initializers/devise.rb @@ -175,7 +175,7 @@ Devise.setup do |config| # Configure the default scope given to Warden. By default it's the first # devise role declared in your routes (usually :user). - # config.default_scope = :user + config.default_scope = :user # now have an :email scope as well, so set the default # Configure sign_out behavior. # Sign_out action can be scoped (i.e. /users/sign_out affects only :user scope). -- cgit v1.2.1