Remove useless from parameter in mailers

We already defined a default one in
ApplicationMailer
This commit is contained in:
gregoirenovel 2017-05-11 18:24:43 +02:00
parent 503f174f4b
commit e14d1a6c15
5 changed files with 5 additions and 8 deletions

View file

@ -19,8 +19,7 @@ class InviteMailer < ApplicationMailer
end
def send_mail email, subject, reply_to
mail(from: "tps@apientreprise.fr",
to: email,
mail(to: email,
subject: subject,
reply_to: reply_to)
end