aboutsummaryrefslogtreecommitdiffstats
path: root/app/models/public_body.rb
diff options
context:
space:
mode:
Diffstat (limited to 'app/models/public_body.rb')
-rw-r--r--app/models/public_body.rb9
1 files changed, 8 insertions, 1 deletions
diff --git a/app/models/public_body.rb b/app/models/public_body.rb
index c13f7d08f..d2db89d62 100644
--- a/app/models/public_body.rb
+++ b/app/models/public_body.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: public_body.rb,v 1.73 2008-05-27 01:19:45 francis Exp $
+# $Id: public_body.rb,v 1.74 2008-05-27 01:25:09 francis Exp $
require 'csv'
require 'set'
@@ -160,6 +160,13 @@ class PublicBody < ActiveRecord::Base
def eir_only?
return self.has_tag?('eir_only')
end
+ def law_only_short
+ if self.eir_only?
+ return "EIR"
+ else
+ return "FOI"
+ end
+ end
class ImportCSVDryRun < StandardError