FIX fields bug
This commit is contained in:
parent
2eb0ee3f66
commit
98dc91d067
|
@ -5,6 +5,6 @@ json.commits do
|
||||||
json.message commit['commit']['message']
|
json.message commit['commit']['message']
|
||||||
json.timestamp render_unix_time(commit['commit']['author']['date'])
|
json.timestamp render_unix_time(commit['commit']['author']['date'])
|
||||||
json.time_from_now time_from_now(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
|
||||||
end
|
end
|
||||||
|
|
|
@ -5,4 +5,4 @@ json.project_identifier @rproject.identifier
|
||||||
json.project_description @project.description
|
json.project_description @project.description
|
||||||
json.project_category_id @project.project_category_id
|
json.project_category_id @project.project_category_id
|
||||||
json.project_language_id @project.project_language_id
|
json.project_language_id @project.project_language_id
|
||||||
json.private @rhidden
|
json.private @hidden
|
||||||
|
|
Loading…
Reference in New Issue