Browse Source

FIX fields bug

tags/v1
Jasder 6 years ago
parent
commit
98dc91d067
2 changed files with 2 additions and 2 deletions
  1. +1
    -1
      app/views/repositories/commits.json.jbuilder
  2. +1
    -1
      app/views/repositories/edit.json.jbuilder

+ 1
- 1
app/views/repositories/commits.json.jbuilder 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

+ 1
- 1
app/views/repositories/edit.json.jbuilder 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

Loading…
Cancel
Save