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.6 app/mailers/spree/test_mailer.rb
spree_core-1.1.5 app/mailers/spree/test_mailer.rb
spree_core-1.2.4 app/mailers/spree/test_mailer.rb
spree_core-1.3.2 app/mailers/spree/test_mailer.rb
spree_core-1.0.7 app/mailers/spree/test_mailer.rb
spree_core-1.2.3 app/mailers/spree/test_mailer.rb
spree_core-1.3.1 app/mailers/spree/test_mailer.rb
spree_core-1.3.0 app/mailers/spree/test_mailer.rb
spree_core-1.3.0.rc2 app/mailers/spree/test_mailer.rb
dup_spree_core-1.3.0.rc1 app/mailers/spree/test_mailer.rb
spree_core-1.3.0.rc1 app/mailers/spree/test_mailer.rb
spree_core-1.2.2 app/mailers/spree/test_mailer.rb
spree_core-1.1.4 app/mailers/spree/test_mailer.rb
spree_core-1.2.0 app/mailers/spree/test_mailer.rb
spree_core-1.2.0.rc2 app/mailers/spree/test_mailer.rb
spree_core-1.2.0.rc1 app/mailers/spree/test_mailer.rb
spree_core-1.1.3 app/mailers/spree/test_mailer.rb
spree_core-1.0.6 app/mailers/spree/test_mailer.rb
spree_core-1.1.2 app/mailers/spree/test_mailer.rb
spree_core-1.1.2.rc1 app/mailers/spree/test_mailer.rb