Use double quotes in controllers/
This commit is contained in:
@@ -14,7 +14,7 @@ class VerificationController < ApplicationController
|
||||
if user.organization?
|
||||
{ path: account_path }
|
||||
elsif user.level_three_verified?
|
||||
{ path: account_path, notice: t('verification.redirect_notices.already_verified') }
|
||||
{ path: account_path, notice: t("verification.redirect_notices.already_verified") }
|
||||
elsif user.verification_letter_sent?
|
||||
{ path: edit_letter_path }
|
||||
elsif user.level_two_verified?
|
||||
@@ -22,7 +22,7 @@ class VerificationController < ApplicationController
|
||||
elsif user.verification_sms_sent?
|
||||
{ path: edit_sms_path }
|
||||
elsif user.verification_email_sent?
|
||||
{ path: verified_user_path, notice: t('verification.redirect_notices.email_already_sent') }
|
||||
{ path: verified_user_path, notice: t("verification.redirect_notices.email_already_sent") }
|
||||
elsif user.residence_verified?
|
||||
{ path: verified_user_path }
|
||||
else
|
||||
@@ -30,4 +30,4 @@ class VerificationController < ApplicationController
|
||||
end
|
||||
end
|
||||
|
||||
end
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user