summaryrefslogtreecommitdiff
path: root/app/views/shared/repo/_repo.html.haml
diff options
context:
space:
mode:
Diffstat (limited to 'app/views/shared/repo/_repo.html.haml')
-rw-r--r--app/views/shared/repo/_repo.html.haml1
1 files changed, 1 insertions, 0 deletions
diff --git a/app/views/shared/repo/_repo.html.haml b/app/views/shared/repo/_repo.html.haml
index c1ba1cfefba..5867ea58378 100644
--- a/app/views/shared/repo/_repo.html.haml
+++ b/app/views/shared/repo/_repo.html.haml
@@ -1,6 +1,7 @@
#repo{ data: { root: @path.empty?.to_s,
root_url: project_tree_path(project),
url: content_url,
+ current_branch: @ref,
ref: @commit.id,
project_name: project.name,
project_url: project_path(project),