cartodb-4.42/config/initializers/03_mailer.rb
2024-04-06 05:25:13 +00:00

6 lines
246 B
Ruby

if Cartodb.config.present? && Cartodb.config[:action_mailer].present?
Cartodb.config[:action_mailer].each do |method, value|
value = value.to_sym if method.to_s == "delivery_method"
ActionMailer::Base.send("#{method}=", value)
end
end