Sha256: f25a37946fac05af673f85b68a0c595607d701d864f136c94fedcc00a657b979

Contents?: true

Size: 274 Bytes

Versions: 1

Compression:

Stored size: 274 Bytes

Contents

class TinyMailer < ActionMailer::Base
  append_view_path File.dirname(__FILE__)

  default from:          'no-reply@example.com',
          template_path: '.'

  def test_mail
    mail(to: 'user@example.com', subject: 'Testing mailer', template_name: 'test_mail')
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
tiny-rails-0.1.1 templates/actionmailer/mailers.rb