This website works better with JavaScript.
Home
Issues
Pull Requests
Milestones
AI流水线
Repositories
Datasets
Forum
实训
竞赛
大数据
AI开发
Register
Sign In
Gitlink
/
forgeplus
Not watched
Unwatch
Watch all
Watch but not notify
1
Star
0
Fork
0
Code
Releases
16
Wiki
evaluate
Activity
Issues
0
Pull Requests
0
Datasets
Model
Cloudbrain
HPC
Browse Source
change
tags/v1
sylor_huang@126.com
6 years ago
parent
226f611bc8
commit
0098ddcbd8
1 changed files
with
3 additions
and
2 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+3
-2
app/views/repositories/commits.json.jbuilder
+ 3
- 2
app/views/repositories/commits.json.jbuilder
View File
@@ -5,8 +5,9 @@ else
json.total_count @hash_commit[:total_count]
json.commits do
json.array! @hash_commit[:body] do |commit|
commit_user = commit['committer']['name']
if commit_user
commiter = commit['committer']
if commiter.present?
commit_user = commiter['name']
forge_user = User.simple_select.find_by(login: commit_user)
end
json.sha commit['sha']
Write
Preview
Loading…
Cancel
Save