mirror of
https://gitlink.org.cn/Gitlink/forgeplus.git
synced 2026-05-22 20:55:46 +08:00
新增: 评论及审查相关接口文档
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user