admin_mailer_preview.rb 325 B

12345678
  1. # Preview all emails at http://localhost:3000/rails/mailers/admin_mailer
  2. class AdminMailerPreview < ActionMailer::Preview
  3. # Preview this email at http://localhost:3000/rails/mailers/admin_mailer/new_pending_account
  4. def new_pending_account
  5. AdminMailer.new_pending_account(Account.first, User.pending.first)
  6. end
  7. end