Sha256: 1d66cd293363b3eadd880fdc6a296ff51d22df1af58b50dc96cadfdfbc09afc9
Contents?: true
Size: 575 Bytes
Versions: 2
Compression:
Stored size: 575 Bytes
Contents
# Preview all emails at http://localhost:3000/rails/mailers/barkest_core/contact_form class BarkestCore::ContactFormPreview < ActionMailer::Preview # Preview this email at http://localhost:3000/rails/mailers/barkest_core/contact_form/contact def contact msg = BarkestCore::ContactMessage.new( your_name: 'John Doe', your_email: 'jdoe@example.com', related_to: 'Other', subject: 'Hello world', body: 'Hello world from the contact form.', remote_ip: '127.0.0.1' ) BarkestCore::ContactForm.contact msg end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
barkest_core-1.5.4.0 | test/mailers/previews/barkest_core/contact_form_preview.rb |
barkest_core-1.5.3.0 | test/mailers/previews/barkest_core/contact_form_preview.rb |