MailPreview: add send_dossier
This commit is contained in:
parent
0014de260d
commit
c4cd113fbd
1 changed files with 4 additions and 0 deletions
|
@ -3,4 +3,8 @@ class GestionnaireMailerPreview < ActionMailer::Preview
|
|||
gestionnaire = Gestionnaire.first
|
||||
GestionnaireMailer.last_week_overview(gestionnaire, gestionnaire.last_week_overview)
|
||||
end
|
||||
|
||||
def send_dossier
|
||||
GestionnaireMailer.send_dossier(Gestionnaire.first, Dossier.first, Gestionnaire.last)
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Reference in a new issue