diff options
author | Eugen Rochko <eugen@zeonfederated.com> | 2019-04-10 00:36:01 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-04-10 00:36:01 +0200 |
commit | 46cb36fd2cc641ab6c125f7e91140fa1b1d77634 (patch) | |
tree | 3e659d684e3c8ee8b9c592b59310bfd0c2c43e18 /spec/mailers/previews | |
parent | 36b39fbac55a9b141b99b54f193ec2702f8c3c39 (diff) |
Add invite request to pending account notification e-mail (#10528)
Fix sorting of the pending accounts page
Diffstat (limited to 'spec/mailers/previews')
-rw-r--r-- | spec/mailers/previews/admin_mailer_preview.rb | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/spec/mailers/previews/admin_mailer_preview.rb b/spec/mailers/previews/admin_mailer_preview.rb new file mode 100644 index 000000000..561a56b78 --- /dev/null +++ b/spec/mailers/previews/admin_mailer_preview.rb @@ -0,0 +1,8 @@ +# Preview all emails at http://localhost:3000/rails/mailers/admin_mailer + +class AdminMailerPreview < ActionMailer::Preview + # Preview this email at http://localhost:3000/rails/mailers/admin_mailer/new_pending_account + def new_pending_account + AdminMailer.new_pending_account(Account.first, User.pending.first) + end +end |