mirror of
https://github.com/codeninjasllc/discourse.git
synced 2024-12-24 22:42:27 -05:00
5 lines
142 B
Ruby
5 lines
142 B
Ruby
class CategoryFeaturedUsersSerializer < CategorySerializer
|
|
|
|
has_many :featured_users, serializer: BasicUserSerializer, embed: :objects
|
|
|
|
end
|