Sha256: 526ae6bd404ed7293e00a31d6487c3cd69720a54f3bea1831dffad84c1c5904a

Contents?: true

Size: 305 Bytes

Versions: 9

Compression:

Stored size: 305 Bytes

Contents

class ApplicationMailer < ActionMailer::Base
  default from: email_address_with_name(
    ENV.fetch('MAIL_FROM_ADDRESS', 'hello@example.com'),
    ENV.fetch('MAIL_FROM_NAME', 'Example')
  )
  layout 'mailer'

  def default_url_options
    { host: ENV.fetch('APP_URL', 'http://localhost:3000') }
  end
end

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
kaze-0.17.0 stubs/default/app/mailers/application_mailer.rb
kaze-0.16.0 stubs/default/app/mailers/application_mailer.rb
kaze-0.15.0 stubs/default/app/mailers/application_mailer.rb
kaze-0.14.0 stubs/default/app/mailers/application_mailer.rb
kaze-0.13.0 stubs/default/app/mailers/application_mailer.rb
kaze-0.12.0 stubs/default/app/mailers/application_mailer.rb
kaze-0.11.0 stubs/default/app/mailers/application_mailer.rb
kaze-0.10.0 stubs/default/app/mailers/application_mailer.rb
kaze-0.9.0 stubs/default/app/mailers/application_mailer.rb