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

@@ -11,7 +11,7 @@ class Verification::ResidenceController < ApplicationController
def create
@residence = Verification::Residence.new(residence_params.merge(user: current_user))
if @residence.save
redirect_to verified_user_path, notice: t('verification.residence.create.flash.success')
redirect_to verified_user_path, notice: t("verification.residence.create.flash.success")
else
render :new
end
@@ -22,4 +22,4 @@ class Verification::ResidenceController < ApplicationController
def residence_params
params.require(:residence).permit(:document_number, :document_type, :date_of_birth, :postal_code, :terms_of_service)
end
end
end