mirror of
https://gitlink.org.cn/Gitlink/forgeplus.git
synced 2026-05-03 20:00:49 +08:00
13 lines
204 B
Ruby
13 lines
204 B
Ruby
class CommitLog < ApplicationRecord
|
|
belongs_to :user
|
|
belongs_to :project
|
|
belongs_to :repository
|
|
|
|
has_many :project_trends, as: :trend, dependent: :destroy
|
|
|
|
def title
|
|
self.message
|
|
end
|
|
|
|
end
|