mirror of
https://github.com/discourse/discourse.git
synced 2024-12-12 00:43:43 +08:00
7 lines
193 B
Ruby
7 lines
193 B
Ruby
# frozen_string_literal: true
|
|
|
|
class ReviewableConversationPostSerializer < ApplicationSerializer
|
|
attributes :id, :excerpt
|
|
has_one :user, serializer: BasicUserSerializer, root: "users"
|
|
end
|