|
|
|
@@ -20,7 +20,7 @@ json.user_can_merge branch['user_can_merge'] |
|
|
|
json.commit_id branch['commit']['id'] |
|
|
|
json.commit_time_from_now time_from_now(branch['commit']['timestamp'].to_time) |
|
|
|
json.commit_time branch['commit']['timestamp'] |
|
|
|
json.default_branch branch['default_branch'] |
|
|
|
json.default_branch default_branch || nil |
|
|
|
json.http_url render_http_url(@project) |
|
|
|
json.zip_url render_zip_url(@owner, @project.repository, branch['name']) |
|
|
|
json.tar_url render_tar_url(@owner, @project.repository, branch['name']) |