2017-05-12 16:56:46 +02:00
|
|
|
class GestionnaireMailerPreview < ActionMailer::Preview
|
|
|
|
def last_week_overview
|
|
|
|
gestionnaire = Gestionnaire.first
|
2018-02-23 13:44:34 +01:00
|
|
|
GestionnaireMailer.last_week_overview(gestionnaire)
|
2017-05-12 16:56:46 +02:00
|
|
|
end
|
2018-02-23 13:44:02 +01:00
|
|
|
|
|
|
|
def send_dossier
|
|
|
|
GestionnaireMailer.send_dossier(Gestionnaire.first, Dossier.first, Gestionnaire.last)
|
|
|
|
end
|
2018-10-03 11:11:02 +02:00
|
|
|
|
|
|
|
def send_login_token
|
|
|
|
GestionnaireMailer.send_login_token(Gestionnaire.first, "token")
|
|
|
|
end
|
2017-05-12 16:56:46 +02:00
|
|
|
end
|