Commit 3304262c authored by Riyad Preukschas's avatar Riyad Preukschas

Display more accurate file size in tree/blob/download partial

parent d96a807d
......@@ -5,4 +5,4 @@
%br
= image_tag "download.png", width: 64
%h3
Download (#{blob.mb_size})
Download (#{number_to_human_size blob.size})
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment