aboutsummaryrefslogtreecommitdiffstats
path: root/app/models/info_request.rb
diff options
context:
space:
mode:
authorfrancis <francis>2008-02-27 12:04:10 +0000
committerfrancis <francis>2008-02-27 12:04:10 +0000
commitabc70d713ddbd2e337a0f419a268b964bed66832 (patch)
tree0364cb2a47d4f8b384f4fa1f225a4ac0051edd66 /app/models/info_request.rb
parent6047f78479bb8951b8ce4caab8161767e4ef7646 (diff)
Store URL name in database.
Allow blank short names.
Diffstat (limited to 'app/models/info_request.rb')
-rw-r--r--app/models/info_request.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/app/models/info_request.rb b/app/models/info_request.rb
index 3ea3b59cc..72bbf8b6a 100644
--- a/app/models/info_request.rb
+++ b/app/models/info_request.rb
@@ -20,7 +20,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.46 2008-02-26 15:13:51 francis Exp $
+# $Id: info_request.rb,v 1.47 2008-02-27 12:04:10 francis Exp $
require 'digest/sha1'
@@ -257,7 +257,7 @@ public
end
end
def recipient_name_and_email
- return "FOI requests at " + self.public_body.short_name + " <" + self.recipient_email + ">"
+ return "FOI requests at " + self.public_body.short_or_long_name + " <" + self.recipient_email + ">"
end
# History of some things that have happened