新增: 评论及审查相关接口文档

This commit is contained in:
2022-07-27 16:07:15 +08:00
parent d6b5dc326a
commit a2549f7ff1
7 changed files with 1657 additions and 12 deletions

View File

@@ -34,6 +34,7 @@
class Journal < ApplicationRecord
serialize :diff, JSON
alias_attribute :note, :notes
belongs_to :user
belongs_to :issue, foreign_key: :journalized_id, :touch => true, optional: true
belongs_to :journalized, polymorphic: true