Do one thing per line
This commit is contained in:
parent
69e95f62c8
commit
8782bdd961
1 changed files with 3 additions and 1 deletions
|
@ -2,7 +2,9 @@ class InviteMailer < ApplicationMailer
|
|||
def invite_user(invite)
|
||||
subject = "Participez à l'élaboration d'un dossier"
|
||||
|
||||
send_mail(invite, subject, invite.email_sender) if invite.user.present?
|
||||
if invite.user.present?
|
||||
send_mail(invite, subject, invite.email_sender)
|
||||
end
|
||||
end
|
||||
|
||||
def invite_guest(invite)
|
||||
|
|
Loading…
Reference in a new issue