diff options
author | Douwe Maan <douwe@gitlab.com> | 2017-12-15 12:02:24 +0300 |
---|---|---|
committer | Douwe Maan <douwe@gitlab.com> | 2017-12-15 12:02:24 +0300 |
commit | 1baea77438779e74657b49ca26810d6c8f041b41 (patch) | |
tree | 480634259d9a6d88351a842a4a49561001ec111c /app/controllers/projects | |
parent | c96e2edc105a46c93bcbf6841c8ec52270d6a601 (diff) | |
parent | cbd3ce8f41fc5691a1d23aca0ffe3221ab5d26af (diff) |
Merge branch 'lfs-badge' into 'master'
Added LFS badge to indicate LFS tracked files
Closes #15567
See merge request gitlab-org/gitlab-ce!15845
Diffstat (limited to 'app/controllers/projects')
-rw-r--r-- | app/controllers/projects/tree_controller.rb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/app/controllers/projects/tree_controller.rb b/app/controllers/projects/tree_controller.rb index f3719059f88..f752a46f828 100644 --- a/app/controllers/projects/tree_controller.rb +++ b/app/controllers/projects/tree_controller.rb @@ -26,6 +26,7 @@ class Projects::TreeController < Projects::ApplicationController respond_to do |format| format.html do + lfs_blob_ids @last_commit = @repository.last_commit_for_path(@commit.id, @tree.path) || @commit end |