Use double quotes in controllers/

This commit is contained in:
Julian Herrero
2019-03-13 22:19:49 +01:00
parent 3c313c9c52
commit d24376f6ad
78 changed files with 236 additions and 236 deletions

View File

@@ -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