Sha256: b4d18c9cc64820685642857609a8ff8ae308d580be0b8a7e811d20a1a5781402

Contents?: true

Size: 290 Bytes

Versions: 33

Compression:

Stored size: 290 Bytes

Contents

module Spree
  class TestMailer < ActionMailer::Base
    def test_email(mail_method, user)
      @mail_method = mail_method
      subject = "#{Spree::Config[:site_name]} #{t('test_mailer.test_email.subject')}"
      mail(:to => user.email,
           :subject => subject)
    end
  end
end

Version data entries

33 entries across 33 versions & 2 rubygems

Version Path
spree_core-1.1.1 app/mailers/spree/test_mailer.rb
spree_core-1.1.0 app/mailers/spree/test_mailer.rb
spree_core-1.0.4 app/mailers/spree/test_mailer.rb
spree_core-1.1.0.rc2 app/mailers/spree/test_mailer.rb
spree_core-1.1.0.rc1 app/mailers/spree/test_mailer.rb
spree_core-1.0.3 app/mailers/spree/test_mailer.rb
spree_core-1.0.2 app/mailers/spree/test_mailer.rb
spree_core-1.0.1 app/mailers/spree/test_mailer.rb
spree_core-1.0.0 app/mailers/spree/test_mailer.rb
spree_core-1.0.0.rc4 app/mailers/spree/test_mailer.rb
spree_core-1.0.0.rc3 app/mailers/spree/test_mailer.rb
spree_core-1.0.0.rc2 app/mailers/spree/test_mailer.rb
spree_core-1.0.0.rc1 app/mailers/spree/test_mailer.rb