demarches-normaliennes/spec/mailers/previews/dossier_mailer_preview.rb
2018-05-29 12:16:22 +02:00

6 lines
200 B
Ruby

# Preview all emails at http://localhost:3000/rails/mailers/dossier_mailer
class DossierMailerPreview < ActionMailer::Preview
def ask_deletion
DossierMailer.ask_deletion(Dossier.last)
end
end