diff options
author | Douwe Maan <douwe@selenight.nl> | 2017-04-13 11:57:43 -0500 |
---|---|---|
committer | Douwe Maan <douwe@selenight.nl> | 2017-04-27 12:23:26 -0500 |
commit | 0d1ec11e8974b38b0d749a08fde2817c61326441 (patch) | |
tree | acecd60b7c7cd90fea299d788aab739645b0e77f /app/controllers | |
parent | 5cb27e9fa74c7234195e10ade933e8a475cff403 (diff) | |
download | gitlab-ce-0d1ec11e8974b38b0d749a08fde2817c61326441.tar.gz |
Use Blob methods instead of BlobHelper helpers
Diffstat (limited to 'app/controllers')
-rw-r--r-- | app/controllers/projects/raw_controller.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/controllers/projects/raw_controller.rb b/app/controllers/projects/raw_controller.rb index c55b37ae0dd..a0b08ad130f 100644 --- a/app/controllers/projects/raw_controller.rb +++ b/app/controllers/projects/raw_controller.rb @@ -15,7 +15,7 @@ class Projects::RawController < Projects::ApplicationController return if cached_blob? - if @blob.lfs_pointer? && project.lfs_enabled? + if @blob.valid_lfs_pointer? send_lfs_object else send_git_blob @repository, @blob |