Do one thing per line

This commit is contained in:
gregoirenovel 2018-05-31 15:53:04 +02:00
parent 69e95f62c8
commit 8782bdd961

View file

@ -2,7 +2,9 @@ class InviteMailer < ApplicationMailer
def invite_user(invite) def invite_user(invite)
subject = "Participez à l'élaboration d'un dossier" 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 end
def invite_guest(invite) def invite_guest(invite)