aboutsummaryrefslogtreecommitdiffstats
path: root/app/helpers/mailer_helper.rb
diff options
context:
space:
mode:
Diffstat (limited to 'app/helpers/mailer_helper.rb')
-rw-r--r--app/helpers/mailer_helper.rb4
1 files changed, 1 insertions, 3 deletions
diff --git a/app/helpers/mailer_helper.rb b/app/helpers/mailer_helper.rb
index c0a950d47..be2ce47aa 100644
--- a/app/helpers/mailer_helper.rb
+++ b/app/helpers/mailer_helper.rb
@@ -1,7 +1,5 @@
module MailerHelper
def contact_from_name_and_email
- contact_name = MySociety::Config.get("CONTACT_NAME", 'Alaveteli')
- contact_email = MySociety::Config.get("CONTACT_EMAIL", 'contact@localhost')
- return "#{contact_name} <#{contact_email}>"
+ "#{Configuration::contact_name} <#{Configuration::contact_email}>"
end
end