Sha256: 2bd3c644eae76cc0065c77594a1d11fd98f644fae116ddd2bb65a8160150b24b

Contents?: true

Size: 300 Bytes

Versions: 3

Compression:

Stored size: 300 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") }
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
kaze-0.4.0 stubs/default/app/mailers/application_mailer.rb
kaze-0.3.0 stubs/default/app/mailers/application_mailer.rb
kaze-0.2.0 stubs/default/app/mailers/application_mailer.rb