diff options
author | Douwe Maan <douwe@gitlab.com> | 2015-04-10 16:22:31 +0300 |
---|---|---|
committer | Douwe Maan <douwe@gitlab.com> | 2015-04-14 13:07:33 +0300 |
commit | 39f389ae0fff5706b73b03c8fb5fc4e3dd7da638 (patch) | |
tree | 405b1daea83883b1fc416ca21749da4282576117 /app/controllers/confirmations_controller.rb | |
parent | 90dafe31c4b1bb54bcd0476a873c4f5cdb62e981 (diff) |
Add invites controller.
Diffstat (limited to 'app/controllers/confirmations_controller.rb')
-rw-r--r-- | app/controllers/confirmations_controller.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/app/controllers/confirmations_controller.rb b/app/controllers/confirmations_controller.rb index bc98eab133c..af1faca93f6 100644 --- a/app/controllers/confirmations_controller.rb +++ b/app/controllers/confirmations_controller.rb @@ -4,11 +4,11 @@ class ConfirmationsController < Devise::ConfirmationsController def after_confirmation_path_for(resource_name, resource) if signed_in?(resource_name) - signed_in_root_path(resource) + after_sign_in_path_for(resource) else sign_in(resource) if signed_in?(resource_name) - signed_in_root_path(resource) + after_sign_in_path_for(resource) else new_session_path(resource_name) end |