修改commits报错

This commit is contained in:
sylor_huang@126.com
2020-06-02 15:45:56 +08:00
parent 8b21ed18b8
commit 9784564c01
2 changed files with 2 additions and 1 deletions

View File

@@ -9,7 +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', user: @project.owner
json.partial! 'author', locals: {user: @create_user}
end
end
end