saucy/test/mailers/previews/notification_mailer_preview.rb

35 lines
1.1 KiB
Ruby
Raw Normal View History

2022-06-25 12:48:46 +00:00
# Preview all emails at http://localhost:3000/rails/mailers/notification_mailer
class NotificationMailerPreview < ActionMailer::Preview
# Preview this email at http://localhost:3000/rails/mailers/notification_mailer/expiration_in_60d
def expiration_in_60d
NotificationMailer.expiration_in_60d
end
# Preview this email at http://localhost:3000/rails/mailers/notification_mailer/expiration_in_30d
def expiration_in_30d
NotificationMailer.expiration_in_30d
end
# Preview this email at http://localhost:3000/rails/mailers/notification_mailer/expired
def expired
NotificationMailer.expired
end
# Preview this email at http://localhost:3000/rails/mailers/notification_mailer/expired_30d_ago
def expired_30d_ago
NotificationMailer.expired_30d_ago
end
# Preview this email at http://localhost:3000/rails/mailers/notification_mailer/expired_60d_ago
def expired_60d_ago
NotificationMailer.expired_60d_ago
end
# Preview this email at http://localhost:3000/rails/mailers/notification_mailer/cancelled
def cancelled
NotificationMailer.cancelled
end
end