discourse/app/serializers/reviewable_history_serializ...

7 lines
199 B
Ruby

class ReviewableHistorySerializer < ApplicationSerializer
attributes :id, :reviewable_history_type, :status, :created_at
has_one :created_by, serializer: BasicUserSerializer, root: 'users'
end