This commit is contained in:
parent
726453ea99
commit
0800f9e6e0
|
@ -4,7 +4,7 @@ if tag.present? && tag.is_a?(Hash)
|
||||||
json.zipball_url render_zip_url(@owner, @repository, tag['name'])
|
json.zipball_url render_zip_url(@owner, @repository, tag['name'])
|
||||||
json.tarball_url render_tar_url(@owner, @repository, tag['name'])
|
json.tarball_url render_tar_url(@owner, @repository, tag['name'])
|
||||||
json.tagger do
|
json.tagger do
|
||||||
json.partial! 'commit_author', user: render_cache_commit_author(tag['tagger']), name: tag['tagger']['name']
|
json.partial! 'api/v1/users/commit_user', user: render_cache_commit_author(tag['tagger']), name: tag['tagger']['name']
|
||||||
end
|
end
|
||||||
json.time_ago time_from_now(tag['tagger']['date'].to_time)
|
json.time_ago time_from_now(tag['tagger']['date'].to_time)
|
||||||
json.created_at_unix tag['tagger']['date'].to_time.to_i
|
json.created_at_unix tag['tagger']['date'].to_time.to_i
|
||||||
|
|
Loading…
Reference in New Issue