discourse/app/serializers/category_featured_users_serializer.rb
2013-02-07 16:45:24 +01:00

6 lines
142 B
Ruby

class CategoryFeaturedUsersSerializer < CategorySerializer
has_many :featured_users, serializer: BasicUserSerializer, embed: :objects
end