discourse/app/serializers/reviewable_conversation_ser...

5 lines
188 B
Ruby

class ReviewableConversationSerializer < ApplicationSerializer
attributes :id, :permalink, :has_more
has_many :conversation_posts, serializer: ReviewableConversationPostSerializer
end