mirror of
https://github.com/discourse/discourse.git
synced 2024-12-01 02:53:40 +08:00
b58867b6e9
Includes support for flags, reviewable users and queued posts, with REST API backwards compatibility. Co-Authored-By: romanrizzi <romanalejandro@gmail.com> Co-Authored-By: jjaffeux <j.jaffeux@gmail.com>
7 lines
199 B
Ruby
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
|