discourse/app/serializers/reviewable_history_serializ...

9 lines
230 B
Ruby

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