修改仓库大小的显示

This commit is contained in:
sylor_huang@126.com 2020-05-26 14:17:50 +08:00
parent 9c8f5f0073
commit 81191b59c2
1 changed files with 1 additions and 1 deletions

View File

@ -29,7 +29,7 @@ json.fork_info do
end
end
json.size @result['size']
json.size number_to_human_size(@result['size'].to_i)
json.ssh_url @result['ssh_url']
json.clone_url @result['clone_url']
json.default_branch @result['default_branch']