Sha256: 8bf62438a1dcafcf4414cdbea800c885a2b50d2e0efc443b573c47b71793b15b
Contents?: true
Size: 424 Bytes
Versions: 7
Compression:
Stored size: 424 Bytes
Contents
module PagesCms class ContactMailer < ApplicationMailer # Subject can be set in your I18n file at config/locales/en.yml # with the following lookup: # # en.contact_mailer.new_contact.subject # def new_contact(contact_result) @contact = contact_result @account = @contact.account mail to: @account.email, from: "noreply@#{@account.site_name.parameterize}.com" end end end
Version data entries
7 entries across 7 versions & 1 rubygems