discourse/app/serializers/topic_poster_serializer.rb

5 lines
140 B
Ruby

class TopicPosterSerializer < ApplicationSerializer
attributes :extras, :description
has_one :user, serializer: BasicUserSerializer
end