Topic Featured Links: move data from custom fields to topics and categories tables. Invert behaviour of topic_featured_link_allowed checkbox. Fix a bug with invalid topic records due to changing that category checkbox.

This commit is contained in:
Neil Lalonde
2016-12-15 17:46:43 -05:00
parent a2096a01fb
commit 923cf73c6e
17 changed files with 77 additions and 71 deletions

View File

@@ -15,7 +15,8 @@ class CategorySerializer < BasicCategorySerializer
:allow_badges,
:custom_fields,
:allowed_tags,
:allowed_tag_groups
:allowed_tag_groups,
:topic_featured_link_allowed
def group_permissions
@group_permissions ||= begin