diff options
author | Matthew Landauer <matthew@openaustralia.org> | 2012-09-25 08:55:35 +1000 |
---|---|---|
committer | Matthew Landauer <matthew@openaustralia.org> | 2012-09-25 08:55:35 +1000 |
commit | f59700138f7360436767fddea554c739e2cd484b (patch) | |
tree | 8c3af52f3f1f369ab412fa7571f19860e4f260b8 /app/controllers/help_controller.rb | |
parent | 265e336ae0608af39aa3aad8b27862e572222562 (diff) |
Extract configuration with defaults into one module
Diffstat (limited to 'app/controllers/help_controller.rb')
-rw-r--r-- | app/controllers/help_controller.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/controllers/help_controller.rb b/app/controllers/help_controller.rb index c7affd57c..ba04b7e22 100644 --- a/app/controllers/help_controller.rb +++ b/app/controllers/help_controller.rb @@ -20,7 +20,7 @@ class HelpController < ApplicationController end def contact - @contact_email = MySociety::Config.get("CONTACT_EMAIL", 'contact@localhost') + @contact_email = Configuration::contact_email @contact_email = @contact_email.gsub(/@/, "@") # if they clicked remove for link to request/body, remove it |