diff options
Diffstat (limited to 'app/models/contact_mailer.rb')
-rw-r--r-- | app/models/contact_mailer.rb | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/app/models/contact_mailer.rb b/app/models/contact_mailer.rb index b35450cef..f0fb37d20 100644 --- a/app/models/contact_mailer.rb +++ b/app/models/contact_mailer.rb @@ -4,17 +4,17 @@ # Copyright (c) 2008 UK Citizens Online Democracy. All rights reserved. # Email: francis@mysociety.org; WWW: http://www.mysociety.org/ # -# $Id: contact_mailer.rb,v 1.7 2008-09-04 08:37:26 francis Exp $ +# $Id: contact_mailer.rb,v 1.8 2008-10-03 17:48:37 francis Exp $ class ContactMailer < ApplicationMailer # Send message to administrator - def message(name, email, subject, message, request_details) + def message(name, email, subject, message, logged_in_user) @from = name + " <" + email + ">" @recipients = contact_from_name_and_email @subject = subject @body = { :message => message, - :request_details => request_details + :logged_in_user => logged_in_user } end |