aboutsummaryrefslogtreecommitdiffstats
path: root/app/models
diff options
context:
space:
mode:
Diffstat (limited to 'app/models')
-rw-r--r--app/models/request_mailer.rb3
-rw-r--r--app/models/user_mailer.rb3
2 files changed, 4 insertions, 2 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')