Remove useless from parameter in mailers
We already defined a default one in ApplicationMailer
This commit is contained in:
parent
503f174f4b
commit
e14d1a6c15
5 changed files with 5 additions and 8 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue