mirror of
https://github.com/discourse/discourse.git
synced 2024-11-23 15:52:12 +08:00
9 lines
230 B
Ruby
9 lines
230 B
Ruby
# frozen_string_literal: true
|
|
|
|
class TopicPosterSerializer < ApplicationSerializer
|
|
attributes :extras, :description
|
|
|
|
has_one :user, serializer: PosterSerializer
|
|
has_one :primary_group, serializer: PrimaryGroupSerializer
|
|
end
|