cartodb-4.42/app/mailers/mailer_config.rb

14 lines
329 B
Ruby
Raw Normal View History

2024-04-06 13:25:13 +08:00
module MailerConfig
def app_link
Cartodb.get_config(:mailer, 'template', 'app_link') || 'https://carto.com'
end
def app_name
Cartodb.get_config(:mailer, 'template', 'app_name') || 'CARTO'
end
def support_link
Cartodb.get_config(:mailer, 'template', 'support_link') || 'mailto:support@carto.com'
end
end