discourse/app/serializers/reviewable_history_serializ...

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

11 lines
323 B
Ruby
Raw Normal View History

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