修改commits报错

This commit is contained in:
sylor_huang@126.com
2020-06-02 15:48:31 +08:00
3 changed files with 12 additions and 13 deletions
+1 -2
View File
@@ -9,8 +9,7 @@ else
json.message commit['commit']['message']
json.timestamp render_unix_time(commit['commit']['author']['date'])
json.time_from_now time_from_now(commit['commit']['author']['date'])
json.partial! 'author', locals: {user: @create_user}
json.partial! 'author', user: @project_owner
end
end
end