Forgot to change a local variable into an instance variable

This commit is contained in:
gregoirenovel 2018-06-07 15:05:30 +02:00
parent 9a97b21721
commit f06132edf1

View file

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