aboutsummaryrefslogtreecommitdiffstats
path: root/app
diff options
context:
space:
mode:
Diffstat (limited to 'app')
-rw-r--r--app/models/request_mailer.rb3
-rw-r--r--app/models/user_mailer.rb3
-rw-r--r--app/views/request_mailer/followup.rhtml5
3 files changed, 7 insertions, 4 deletions
diff --git a/app/models/request_mailer.rb b/app/models/request_mailer.rb
index 6d5e6b0cd..fc4197004 100644
--- a/app/models/request_mailer.rb
+++ b/app/models/request_mailer.rb
@@ -4,9 +4,10 @@
# Copyright (c) 2007 UK Citizens Online Democracy. All rights reserved.
# Email: francis@mysociety.org; WWW: http://www.mysociety.org/
#
-# $Id: request_mailer.rb,v 1.16 2008-01-10 01:13:28 francis Exp $
+# $Id: request_mailer.rb,v 1.17 2008-01-11 01:02:45 francis Exp $
class RequestMailer < ActionMailer::Base
+ helper :application
def initial_request(info_request, outgoing_message)
@from = info_request.incoming_email
diff --git a/app/models/user_mailer.rb b/app/models/user_mailer.rb
index d3638c38b..1e609ae32 100644
--- a/app/models/user_mailer.rb
+++ b/app/models/user_mailer.rb
@@ -4,9 +4,10 @@
# Copyright (c) 2007 UK Citizens Online Democracy. All rights reserved.
# Email: francis@mysociety.org; WWW: http://www.mysociety.org/
#
-# $Id: user_mailer.rb,v 1.2 2007-11-13 12:02:14 francis Exp $
+# $Id: user_mailer.rb,v 1.3 2008-01-11 01:02:45 francis Exp $
class UserMailer < ActionMailer::Base
+ helper :application
def confirm_login(user, reasons, url)
@from = MySociety::Config.get("CONTACT_EMAIL", 'contact@localhost')
diff --git a/app/views/request_mailer/followup.rhtml b/app/views/request_mailer/followup.rhtml
index a3198d038..3c37b2763 100644
--- a/app/views/request_mailer/followup.rhtml
+++ b/app/views/request_mailer/followup.rhtml
@@ -1,8 +1,9 @@
<%= @outgoing_message.body.strip %>
-------------------------------------------------------------------
-Disclaimer: This message and all responses to it are public. Any reply that you
-make will be published on the Internet.
+Disclaimer: This message and all responses to it are public. Any
+reply that you make will be published on the Internet at this
+location: <%= main_url(request_url(@info_request)) %>
Sent using GovernmentSpy, a project of UKCOD, registered charity number 1076346.
-------------------------------------------------------------------