diff options
| author | Douwe Maan <douwe@gitlab.com> | 2016-05-20 21:09:49 +0000 |
|---|---|---|
| committer | Douwe Maan <douwe@gitlab.com> | 2016-05-20 21:09:49 +0000 |
| commit | 63f53730c0483b4c9e6fa9d90413d40a8c74a243 (patch) | |
| tree | 92f4f5069ecc2a110b718e65eb5aeef642aaac95 | |
| parent | ba5b47c2e36d284df6827fed8e59876619aa9501 (diff) | |
| parent | f04c5b27f0c19dfab00a6ac2de8b4168b67fe7a0 (diff) | |
| download | gitlab-ce-63f53730c0483b4c9e6fa9d90413d40a8c74a243.tar.gz | |
Merge branch 'issue_14684_2' into 'master'
current_user.confirmed_at.present? => current_user.confirmed?
fixes: https://gitlab.com/gitlab-org/gitlab-ce/merge_requests/3862/diffs#4f7b76b1197d6fb073f77957b3b7b70d921ed7e7_42_41
See merge request !4225
| -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) |
