discourse/app/serializers/reviewable_conversation_pos...

7 lines
193 B
Ruby

# frozen_string_literal: true
class ReviewableConversationPostSerializer < ApplicationSerializer
attributes :id, :excerpt
has_one :user, serializer: BasicUserSerializer, root: "users"
end