GestionnaireMailer: add mailjet campaign tag

This commit is contained in:
Simon Lehericey 2017-05-17 10:27:08 +02:00
parent b043effcc5
commit 5a794a8b9a

View file

@ -9,6 +9,7 @@ class GestionnaireMailer < ApplicationMailer
end
def last_week_overview(gestionnaire, overview)
headers['X-mailjet-campaign'] = 'last_week_overview'
send_mail gestionnaire.email, overview, 'Résumé de la semaine'
end