diff options
author | Felipe Artur <felipefac@gmail.com> | 2016-05-20 20:52:42 +0300 |
---|---|---|
committer | Felipe Artur <felipefac@gmail.com> | 2016-05-20 20:52:42 +0300 |
commit | f04c5b27f0c19dfab00a6ac2de8b4168b67fe7a0 (patch) | |
tree | 976692d8be55ab19154f2448ce7fbeb4776c4a80 /app | |
parent | 5d031c868a503300a23d2119b6183f263b735f04 (diff) |
current_user.confirmed_at.present? => current_user.confirmed?
Diffstat (limited to 'app')
-rw-r--r-- | app/controllers/registrations_controller.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/controllers/registrations_controller.rb b/app/controllers/registrations_controller.rb index 26eb15f49e4..75b78a49eab 100644 --- a/app/controllers/registrations_controller.rb +++ b/app/controllers/registrations_controller.rb @@ -38,7 +38,7 @@ class RegistrationsController < Devise::RegistrationsController end def after_sign_up_path_for(user) - user.confirmed_at.present? ? dashboard_projects_path : users_almost_there_path + user.confirmed? ? dashboard_projects_path : users_almost_there_path end def after_inactive_sign_up_path_for(_resource) |