Files
nairobi/app/mailers/application_mailer.rb
Javi Martín ddb37f89ae Apply Style/Proc rubocop rule
While I tend to use `Proc.new`, using `proc` is shorter and more
consistent since we also use `lambda`.
2019-10-26 13:22:49 +02:00

7 lines
202 B
Ruby

class ApplicationMailer < ActionMailer::Base
helper :settings
helper :application
default from: proc { "#{Setting["mailer_from_name"]} <#{Setting["mailer_from_address"]}>" }
layout "mailer"
end