forked from External/greenlight
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.
7 lines
234 B
Ruby
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
|