discourse/app/serializers/reviewable_conversation_pos...

5 lines
162 B
Ruby
Raw Normal View History

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