Convert auth/setup
spec controller->system/request (#33604)
This commit is contained in:
parent
72abf05269
commit
998cf0dd53
4 changed files with 58 additions and 26 deletions
|
@ -18,7 +18,7 @@ class Auth::SetupController < ApplicationController
|
|||
|
||||
if @user.update(user_params)
|
||||
@user.resend_confirmation_instructions unless @user.confirmed?
|
||||
redirect_to auth_setup_path, notice: I18n.t('auth.setup.new_confirmation_instructions_sent')
|
||||
redirect_to auth_setup_path, notice: t('auth.setup.new_confirmation_instructions_sent')
|
||||
else
|
||||
render :show
|
||||
end
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue