discourse/app/serializers/topic_poster_serializer.rb

7 lines
142 B
Ruby

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