summaryrefslogtreecommitdiff
path: root/app/views/projects
diff options
context:
space:
mode:
authorLin Jen-Shin <godfat@godfat.org>2016-10-27 03:44:53 +0800
committerLin Jen-Shin <godfat@godfat.org>2016-10-27 03:44:53 +0800
commit141cb35dc5e8154f336e08ec7a38e150128577d6 (patch)
tree5cd0df2fe93b0b13db5782644e39b3d44fd7b4d0 /app/views/projects
parent6f6a8d2a671cf3bc2df2832081f528d9b06e27be (diff)
downloadgitlab-ce-141cb35dc5e8154f336e08ec7a38e150128577d6.tar.gz
Also pass ref here
Diffstat (limited to 'app/views/projects')
-rw-r--r--app/views/projects/blob/_blob.html.haml2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/projects/blob/_blob.html.haml b/app/views/projects/blob/_blob.html.haml
index 3ffc3fcb7ac..149ee7c59d6 100644
--- a/app/views/projects/blob/_blob.html.haml
+++ b/app/views/projects/blob/_blob.html.haml
@@ -20,7 +20,7 @@
%ul.blob-commit-info.hidden-xs
- blob_commit = @repository.last_commit_for_path(@commit.id, blob.path)
- = render blob_commit, project: @project
+ = render blob_commit, project: @project, ref: @ref
%div#blob-content-holder.blob-content-holder
%article.file-holder