|
|
|
@@ -9,5 +9,6 @@ json.commits @result_object[:data].each do |commit| |
|
|
|
json.partial! 'api/v1/users/commit_user', locals: { user: render_cache_commit_author(commit['commit']['committer']), name: commit['commit']['committer']['name'] } |
|
|
|
end |
|
|
|
json.commit_message commit['commit']['message'] |
|
|
|
json.time_from_now time_from_now(commit['created']) |
|
|
|
json.parent_shas commit['parents'].map{|x|x['sha']} |
|
|
|
end |