cartodb/app/mailers/mailer_config.rb

14 lines
329 B
Ruby
Raw Permalink Normal View History

2020-06-15 10:58:47 +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