greenlight/test/mailers/previews/notification_mailer_preview.rb
Leonardo Crauss Daronco e94f3d7a10 Send an email to the user when a recording is done processing
Had to add an email attribute to users to store their email to send the
notification. Will only send it for user rooms since they are the only
ones we know who to notify.
2016-12-08 18:33:19 -02:00

7 lines
234 B
Ruby

# Preview all emails at http://localhost:3000/rails/mailers/example_mailer
class NotificationMailerPreview < ActionMailer::Preview
def recording_ready_email_preview
NotificationMailer.recording_ready_email(User.first)
end
end