15 lines
546 B
Ruby
15 lines
546 B
Ruby
# Preview all emails at http://localhost:3000/rails/mailers/account_mailer
|
|
class AccountMailerPreview < ActionMailer::Preview
|
|
# 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
|
|
end
|