discourse/app/serializers/reviewable_conversation_pos...

5 lines
162 B
Ruby

class ReviewableConversationPostSerializer < ApplicationSerializer
attributes :id, :excerpt
has_one :user, serializer: BasicUserSerializer, root: 'users'
end