stubs/default/app/mailers/application_mailer.rb in kaze-0.4.0 vs stubs/default/app/mailers/application_mailer.rb in kaze-0.5.0
- old
+ new
@@ -1,11 +1,11 @@
class ApplicationMailer < ActionMailer::Base
default from: email_address_with_name(
- ENV.fetch("MAIL_FROM_ADDRESS", "hello@example.com"),
- ENV.fetch("MAIL_FROM_NAME", "Example")
+ ENV.fetch('MAIL_FROM_ADDRESS', 'hello@example.com'),
+ ENV.fetch('MAIL_FROM_NAME', 'Example')
)
- layout "mailer"
+ layout 'mailer'
def default_url_options
- { host: ENV.fetch("APP_URL", "http://localhost") }
+ { host: ENV.fetch('APP_URL', 'http://localhost') }
end
end