Stop doing something useless

This commit is contained in:
gregoirenovel 2018-05-31 08:54:16 +02:00
parent 641f72a517
commit 2e0abb054c

View file

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