diff options
Diffstat (limited to 'app/mailers')
-rw-r--r-- | app/mailers/application_mailer.rb | 2 | ||||
-rw-r--r-- | app/mailers/notification_mailer.rb | 2 |
2 files changed, 4 insertions, 0 deletions
diff --git a/app/mailers/application_mailer.rb b/app/mailers/application_mailer.rb index 1a3196acd..2f7dd6ee5 100644 --- a/app/mailers/application_mailer.rb +++ b/app/mailers/application_mailer.rb @@ -1,3 +1,5 @@ +# frozen_string_literal: true + class ApplicationMailer < ActionMailer::Base default from: (ENV['SMTP_FROM_ADDRESS'] || 'notifications@localhost') layout 'mailer' diff --git a/app/mailers/notification_mailer.rb b/app/mailers/notification_mailer.rb index 6c81df269..2ed562979 100644 --- a/app/mailers/notification_mailer.rb +++ b/app/mailers/notification_mailer.rb @@ -1,3 +1,5 @@ +# frozen_string_literal: true + class NotificationMailer < ApplicationMailer helper StreamEntriesHelper |