mirror of
https://github.com/codeninjasllc/discourse.git
synced 2024-11-27 09:36:19 -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
|
||||
|
||||
def allowed_tags
|
||||
Tag.top_tags(category: object)
|
||||
object.tags.pluck(:name)
|
||||
end
|
||||
|
||||
def include_allowed_tag_groups?
|
||||
|
|
Loading…
Reference in a new issue