Stop doing something useless
This commit is contained in:
parent
641f72a517
commit
2e0abb054c
1 changed files with 1 additions and 1 deletions
|
@ -36,12 +36,12 @@ class NotificationMailer < ApplicationMailer
|
|||
private
|
||||
|
||||
def vars_mailer(dossier)
|
||||
@dossier = dossier
|
||||
@user = dossier.user
|
||||
end
|
||||
|
||||
def send_mail(dossier, subject)
|
||||
vars_mailer(dossier)
|
||||
@dossier = dossier
|
||||
|
||||
mail(subject: subject)
|
||||
end
|
||||
|
|
Loading…
Reference in a new issue