mirror of
https://github.com/discourse/discourse.git
synced 2024-11-29 20:24:05 -06: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
|