FIX fields bug

This commit is contained in:
Jasder 2020-03-20 21:27:04 +08:00
parent 2eb0ee3f66
commit 98dc91d067
2 changed files with 2 additions and 2 deletions

View File

@ -5,6 +5,6 @@ json.commits do
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.user
json.partial! 'author', user: @project.owner
end
end

View File

@ -5,4 +5,4 @@ json.project_identifier @rproject.identifier
json.project_description @project.description
json.project_category_id @project.project_category_id
json.project_language_id @project.project_language_id
json.private @rhidden
json.private @hidden