mirror of
https://github.com/codeninjasllc/discourse.git
synced 2024-12-02 11:59:17 -05:00
FIX: category settings showed top tags instead of tag settings
This commit is contained in:
parent
caa1aea995
commit
61ada93a99
1 changed files with 1 additions and 1 deletions
|
@ -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?
|
||||||
|
|
Loading…
Reference in a new issue