10 lines
280 B
Ruby
10 lines
280 B
Ruby
# Preview all emails at http://localhost:3000/rails/mailers/form_mailer
|
|
class FormMailerPreview < ActionMailer::Preview
|
|
|
|
# Preview this email at http://localhost:3000/rails/mailers/form_mailer/received
|
|
def received
|
|
FormMailer.received name: "Me" , email: "You"
|
|
end
|
|
|
|
end
|