aboutsummaryrefslogtreecommitdiffstats
path: root/app/controllers
diff options
context:
space:
mode:
authorlizconlan <liz@mysociety.org>2014-07-22 12:35:40 +0100
committerLouise Crow <louise.crow@gmail.com>2014-09-22 12:39:02 +0100
commitcb2dfa0c464e72c4d0eb00e5381e9d24c57d63e2 (patch)
tree9134a5cd15ff3fcd8e2d9a5b544cbc8c00c4718d /app/controllers
parent74431c14502314001120883b5ee67298afc3ccf3 (diff)
List categories without headings on the admin screen
Diffstat (limited to 'app/controllers')
-rw-r--r--app/controllers/admin_public_body_category_controller.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/app/controllers/admin_public_body_category_controller.rb b/app/controllers/admin_public_body_category_controller.rb
index c4f342ddb..0fece725e 100644
--- a/app/controllers/admin_public_body_category_controller.rb
+++ b/app/controllers/admin_public_body_category_controller.rb
@@ -2,6 +2,7 @@ class AdminPublicBodyCategoryController < AdminController
def index
@locale = self.locale_from_params
@category_headings = PublicBodyHeading.all
+ @without_heading = PublicBodyCategory.without_headings
end
def new