Add invite request to pending account notification e-mail (#10528)
Fix sorting of the pending accounts page
This commit is contained in:
parent
36b39fbac5
commit
46cb36fd2c
4 changed files with 21 additions and 4 deletions
8
spec/mailers/previews/admin_mailer_preview.rb
Normal file
8
spec/mailers/previews/admin_mailer_preview.rb
Normal 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
|
Loading…
Add table
Add a link
Reference in a new issue