From 61ada93a99a0b37017abdb665640c112e30e5eb4 Mon Sep 17 00:00:00 2001 From: Neil Lalonde Date: Fri, 15 Jul 2016 14:08:31 -0400 Subject: [PATCH] FIX: category settings showed top tags instead of tag settings --- app/serializers/category_serializer.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/serializers/category_serializer.rb b/app/serializers/category_serializer.rb index fbe5bf456fe..5e487a570ed 100644 --- a/app/serializers/category_serializer.rb +++ b/app/serializers/category_serializer.rb @@ -84,7 +84,7 @@ class CategorySerializer < BasicCategorySerializer end def allowed_tags - Tag.top_tags(category: object) + object.tags.pluck(:name) end def include_allowed_tag_groups?