Add parentheses
This commit is contained in:
parent
a60f1c434e
commit
8eeb10bc5c
2 changed files with 5 additions and 5 deletions
|
@ -18,7 +18,7 @@ class GestionnaireMailer < ApplicationMailer
|
|||
headers['X-mailjet-campaign'] = 'last_week_overview'
|
||||
overview = gestionnaire.last_week_overview
|
||||
|
||||
send_mail gestionnaire.email, overview, 'Vos activités sur demarches-simplifiees.fr'
|
||||
send_mail(gestionnaire.email, overview, 'Vos activités sur demarches-simplifiees.fr')
|
||||
end
|
||||
|
||||
def send_dossier(sender, dossier, recipient)
|
||||
|
|
|
@ -1,14 +1,14 @@
|
|||
class InviteMailer < ApplicationMailer
|
||||
def invite_user(invite)
|
||||
vars_mailer invite
|
||||
vars_mailer(invite)
|
||||
|
||||
send_mail invite.email, "demarches-simplifiees.fr - Participez à l'élaboration d'un dossier", invite.email_sender if invite.user.present?
|
||||
send_mail(invite.email, "demarches-simplifiees.fr - Participez à l'élaboration d'un dossier", invite.email_sender) if invite.user.present?
|
||||
end
|
||||
|
||||
def invite_guest(invite)
|
||||
vars_mailer invite
|
||||
vars_mailer(invite)
|
||||
|
||||
send_mail invite.email, "Invitation - #{invite.email_sender} vous invite à consulter un dossier sur demarches-simplifiees.fr", invite.email_sender
|
||||
send_mail(invite.email, "Invitation - #{invite.email_sender} vous invite à consulter un dossier sur demarches-simplifiees.fr", invite.email_sender)
|
||||
end
|
||||
|
||||
private
|
||||
|
|
Loading…
Reference in a new issue