diff options
author | francis <francis> | 2008-02-29 16:00:28 +0000 |
---|---|---|
committer | francis <francis> | 2008-02-29 16:00:28 +0000 |
commit | 0ef201b08350e9e0d8f5941d00b893152641ca6f (patch) | |
tree | 74b220ca2eb5bab219a558e11fb93d691802689e /app/models/info_request.rb | |
parent | f77d05b7c6ee04b073eece408ca1ad273aa24826 (diff) |
Show response properly
Diffstat (limited to 'app/models/info_request.rb')
-rw-r--r-- | app/models/info_request.rb | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/app/models/info_request.rb b/app/models/info_request.rb index 707c0249f..630b3e5cf 100644 --- a/app/models/info_request.rb +++ b/app/models/info_request.rb @@ -21,7 +21,7 @@ # Copyright (c) 2007 UK Citizens Online Democracy. All rights reserved. # Email: francis@mysociety.org; WWW: http://www.mysociety.org/ # -# $Id: info_request.rb,v 1.51 2008-02-29 13:21:14 francis Exp $ +# $Id: info_request.rb,v 1.52 2008-02-29 16:00:29 francis Exp $ require 'digest/sha1' @@ -100,6 +100,14 @@ public return self.user.name + " <" + self.envelope_email + ">" end + # Subject lines for emails about the request + def email_subject_request + 'Freedom of Information Request - ' + self.title + end + def email_subject_followup + 'Re: Freedom of Information Request - ' + self.title + end + # Return info request corresponding to an incoming email address, or nil if # none found. Checks the hash to ensure the email came from the public body - # only they are sent the email address with the has in it. |