mirror of
https://gh.wpcy.net/https://github.com/discourse/discourse.git
synced 2026-05-03 10:06:05 +08:00
As part of the review queue refresh, we'll be adding the ability for moderators to make notes on individual reviewable items. As a first step, this change adds the new model and associated backend code.
7 lines
210 B
Ruby
7 lines
210 B
Ruby
# frozen_string_literal: true
|
|
|
|
class ReviewableNoteSerializer < ApplicationSerializer
|
|
attributes :id, :content, :created_at, :updated_at
|
|
|
|
has_one :user, serializer: BasicUserSerializer, embed: :objects
|
|
end
|