Forgot to change a local variable into an instance variable
This commit is contained in:
parent
9a97b21721
commit
f06132edf1
1 changed files with 1 additions and 1 deletions
|
@ -5,6 +5,6 @@ class UserMailer < ApplicationMailer
|
|||
@user = user
|
||||
@subject = "Demande de création de compte"
|
||||
|
||||
mail(to: user.email, subject: subject)
|
||||
mail(to: user.email, subject: @subject)
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Reference in a new issue