Use a local variable instead of an instance variable
This commit is contained in:
parent
bb8adba9b9
commit
7ea37abefa
1 changed files with 2 additions and 2 deletions
|
@ -9,9 +9,9 @@ class NotificationMailer < ApplicationMailer
|
||||||
def send_draft_notification(dossier)
|
def send_draft_notification(dossier)
|
||||||
vars_mailer(dossier)
|
vars_mailer(dossier)
|
||||||
|
|
||||||
@subject = "Retrouvez votre brouillon pour la démarche : #{dossier.procedure.libelle}"
|
subject = "Retrouvez votre brouillon pour la démarche : #{dossier.procedure.libelle}"
|
||||||
|
|
||||||
mail(subject: @subject)
|
mail(subject: subject)
|
||||||
end
|
end
|
||||||
|
|
||||||
def send_initiated_notification(dossier)
|
def send_initiated_notification(dossier)
|
||||||
|
|
Loading…
Reference in a new issue