discourse/app/serializers/category_featured_users_serializer.rb

6 lines
142 B
Ruby
Raw Normal View History

2013-02-05 14:16:51 -05:00
class CategoryFeaturedUsersSerializer < CategorySerializer
2013-02-07 10:45:24 -05:00
2013-02-05 14:16:51 -05:00
has_many :featured_users, serializer: BasicUserSerializer, embed: :objects
end