discourse/app/serializers/queued_post_serializer.rb
2015-04-15 14:54:37 -04:00

14 lines
360 B
Ruby

class QueuedPostSerializer < ApplicationSerializer
attributes :id,
:queue,
:user_id,
:state,
:topic_id,
:approved_by_id,
:rejected_by_id,
:raw,
:post_options,
:created_at
has_one :user, serializer: BasicUserSerializer, embed: :object
end