Add invite request to pending account notification e-mail (#10528)

Fix sorting of the pending accounts page
This commit is contained in:
Eugen Rochko 2019-04-10 00:36:01 +02:00 committed by GitHub
parent 36b39fbac5
commit 46cb36fd2c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 21 additions and 4 deletions

View file

@ -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