Chore: Update mailer to remove hardcoded twitter link (#1103)

This commit is contained in:
Pranav Raj S
2020-07-30 23:58:42 +05:30
committed by GitHub
parent 2b1d445003
commit a16d2c653d
6 changed files with 22 additions and 18 deletions

View File

@@ -7,7 +7,7 @@ class ApplicationMailer < ActionMailer::Base
helper :frontend_urls
helper do
def global_config
@global_config ||= GlobalConfig.get('INSTALLATION_NAME', 'BRAND_URL')
@global_config ||= GlobalConfig.get('BRAND_NAME', 'BRAND_URL')
end
end