aboutsummaryrefslogtreecommitdiffstats
path: root/app/controllers/help_controller.rb
diff options
context:
space:
mode:
authorMatthew Landauer <matthew@openaustralia.org>2012-09-25 08:55:35 +1000
committerMatthew Landauer <matthew@openaustralia.org>2012-09-25 08:55:35 +1000
commitf59700138f7360436767fddea554c739e2cd484b (patch)
tree8c3af52f3f1f369ab412fa7571f19860e4f260b8 /app/controllers/help_controller.rb
parent265e336ae0608af39aa3aad8b27862e572222562 (diff)
Extract configuration with defaults into one module
Diffstat (limited to 'app/controllers/help_controller.rb')
-rw-r--r--app/controllers/help_controller.rb2
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(/@/, "&#64;")
# if they clicked remove for link to request/body, remove it