diff options
author | Louise Crow <louise.crow@gmail.com> | 2013-01-08 18:04:04 +0000 |
---|---|---|
committer | Louise Crow <louise.crow@gmail.com> | 2013-01-08 18:04:04 +0000 |
commit | a21fc622126eee69467b89aec9a425dbd3f96feb (patch) | |
tree | 3dad7cc51c568e4bf64379bc96d1a48abe42115d | |
parent | 332ba3d93c57975f7901eceec2a8ab280d0dde9f (diff) |
Don't export the fake authorities that we use for admin.
-rw-r--r-- | app/models/public_body.rb | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/app/models/public_body.rb b/app/models/public_body.rb index 57fe27767..96f7733ed 100644 --- a/app/models/public_body.rb +++ b/app/models/public_body.rb @@ -520,6 +520,8 @@ class PublicBody < ActiveRecord::Base 'Version', ] public_bodies.each do |public_body| + # Skip bodies we use only for site admin + next if public_body.has_tag?('site_administration') csv << [ public_body.name, public_body.short_name, |