Add missing notify_mailer_preview (#19714)
This commit is contained in:
parent
58abc5c30a
commit
8b307db9c7
1 changed files with 6 additions and 0 deletions
|
|
@ -80,6 +80,12 @@ class NotifyMailerPreview < ActionMailer::Preview
|
|||
NotifyMailer.with(name: user.name, email: user.email).account_deleted_email
|
||||
end
|
||||
|
||||
def organization_deleted_email
|
||||
user = User.last
|
||||
org = Organization.last
|
||||
NotifyMailer.with(name: user.name, org_name: org.name, email: user.email).organization_deleted_email
|
||||
end
|
||||
|
||||
def export_email
|
||||
NotifyMailer.with(user: User.last, attachment: "attachment").export_email
|
||||
end
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue