Sha256: b42b1667fac94e06ede80b39a0d829f38fa99463c4a3b7feef24b81f0e269b60

Contents?: true

Size: 359 Bytes

Versions: 9

Compression:

Stored size: 359 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 = account
      mail to: @account.email
    end
  end
end

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
pages_cms-2.1.1 app/mailers/pages_cms/contact_mailer.rb
pages_cms-2.1.0 app/mailers/pages_cms/contact_mailer.rb
pages_cms-2.0.1 app/mailers/pages_cms/contact_mailer.rb
pages_cms-2.0.0 app/mailers/pages_cms/contact_mailer.rb
pages_cms-1.2.3 app/mailers/pages_cms/contact_mailer.rb
pages_cms-1.2.2 app/mailers/pages_cms/contact_mailer.rb
pages_cms-1.2.1 app/mailers/pages_cms/contact_mailer.rb
pages_cms-1.2.0 app/mailers/pages_cms/contact_mailer.rb
pages_cms-1.1.0 app/mailers/pages_cms/contact_mailer.rb