Browse Source

commit加入到项目动态

pull/342/head
xxq250 3 years ago
parent
commit
71c1a0f436
1 changed files with 4 additions and 0 deletions
  1. +4
    -0
      app/models/commit_log.rb

+ 4
- 0
app/models/commit_log.rb View File

@@ -5,4 +5,8 @@ class CommitLog < ApplicationRecord

has_many :project_trends, as: :trend, dependent: :destroy

def title
self.message
end

end

Loading…
Cancel
Save