demarches-normaliennes/spec/mailers/previews/avis_mailer_preview.rb
2017-06-13 10:35:32 +02:00

6 lines
194 B
Ruby

# Preview all emails at http://localhost:3000/rails/mailers/avis_mailer
class AvisMailerPreview < ActionMailer::Preview
def avis_invitation
AvisMailer.avis_invitation(Avis.last)
end
end