diff options
author | Jacob Schatz <jschatz1@gmail.com> | 2017-07-28 21:54:06 -0400 |
---|---|---|
committer | Jacob Schatz <jschatz1@gmail.com> | 2017-07-28 21:54:06 -0400 |
commit | c18fee9416a33840c363a9f0bb3269e0b447cded (patch) | |
tree | 53131d8385a260ee9eaa0b301654575166b7f7ae /app/controllers/concerns/renders_blob.rb | |
parent | 51fcfc735091a161a79f02ede882b197925d8106 (diff) | |
download | gitlab-ce-c18fee9416a33840c363a9f0bb3269e0b447cded.tar.gz |
Changes to `raw_size` to take advantage of LFS.
Diffstat (limited to 'app/controllers/concerns/renders_blob.rb')
-rw-r--r-- | app/controllers/concerns/renders_blob.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/controllers/concerns/renders_blob.rb b/app/controllers/concerns/renders_blob.rb index a048445de1d..5a1b1d9f929 100644 --- a/app/controllers/concerns/renders_blob.rb +++ b/app/controllers/concerns/renders_blob.rb @@ -28,7 +28,7 @@ module RendersBlob plain: blob.data, name: blob.name, extension: blob.extension, - size: blob.size, + size: blob.raw_size, mime_type: blob.mime_type } end |