FIX: category settings showed top tags instead of tag settings

This commit is contained in:
Neil Lalonde 2016-07-15 14:08:31 -04:00
parent caa1aea995
commit 61ada93a99

View file

@ -84,7 +84,7 @@ class CategorySerializer < BasicCategorySerializer
end end
def allowed_tags def allowed_tags
Tag.top_tags(category: object) object.tags.pluck(:name)
end end
def include_allowed_tag_groups? def include_allowed_tag_groups?