sms-pager/test/mailers/previews/account_mailer_preview.rb

15 lines
546 B
Ruby
Raw Permalink Normal View History

2015-10-08 19:16:33 -05:00
# Preview all emails at http://localhost:3000/rails/mailers/account_mailer
class AccountMailerPreview < ActionMailer::Preview
2015-10-08 21:10:33 -05:00
# Preview this email at http://localhost:3000/rails/mailers/account_mailer/activation_needed_email
def activation_needed_email
user = Person.new
AccountMailer.activation_needed_email user
end
# Preview this email at http://localhost:3000/rails/mailers/account_mailer/activation_success_email
def activation_success_email
user = Person.new
AccountMailer.activation_success_email user
end
2015-10-08 19:16:33 -05:00
end