aboutsummaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorMatthew Landauer <matthew@openaustralia.org>2012-10-02 08:24:57 +1000
committerMatthew Landauer <matthew@openaustralia.org>2012-10-02 08:24:57 +1000
commit668042256ed6e1a39e29147c8ab4ba2746fe2e38 (patch)
tree6cc5a13ab50caeaf453e81b06b965d87467688b2 /lib
parent11fb3fc50cb8a127cafb191e32f191aebdcdb7bc (diff)
Use Configuration rather than MySociety::Config directly
Diffstat (limited to 'lib')
-rw-r--r--lib/views/help/officers.rhtml2
-rw-r--r--lib/views/help/privacy.rhtml2
2 files changed, 2 insertions, 2 deletions
diff --git a/lib/views/help/officers.rhtml b/lib/views/help/officers.rhtml
index 0072f1e..6636fef 100644
--- a/lib/views/help/officers.rhtml
+++ b/lib/views/help/officers.rhtml
@@ -80,7 +80,7 @@ use.</p>
<p>Requests are sometimes not delivered because they are quietly removed by
"spam filters" in the IT department of the authority. Authorities can make
sure this doesn't happen by asking their IT departments to "whitelist"
-any email from <strong>@<%= MySociety::Config.get('INCOMING_EMAIL_DOMAIN', 'localhost') %></strong>.
+any email from <strong>@<%= Configuration::incoming_email_domain %></strong>.
If you <a href="/help/contact">ask us</a> we will resend any request,
and/or give technical details of delivery so an IT department can chase
up what happened to the message.
diff --git a/lib/views/help/privacy.rhtml b/lib/views/help/privacy.rhtml
index 2a4007a..7102fc8 100644
--- a/lib/views/help/privacy.rhtml
+++ b/lib/views/help/privacy.rhtml
@@ -12,7 +12,7 @@
<dd><p>We will not disclose your email address to anyone unless we are obliged to by law,
or you ask us to. This includes the public authority that you are sending a
request to. They only get to see an email address
-@<%= MySociety::Config.get('INCOMING_EMAIL_DOMAIN', 'localhost') %> which is specific to that request. </p>
+@<%= Configuration::incoming_email_domain %> which is specific to that request. </p>
<p>If you send a message to another user on the site, then it will reveal your
email address to them. You will be told that this is going to happen.</p>
</dd>