summaryrefslogtreecommitdiff
path: root/app/views/projects/commit/branches.html.haml
diff options
context:
space:
mode:
Diffstat (limited to 'app/views/projects/commit/branches.html.haml')
-rw-r--r--app/views/projects/commit/branches.html.haml4
1 files changed, 2 insertions, 2 deletions
diff --git a/app/views/projects/commit/branches.html.haml b/app/views/projects/commit/branches.html.haml
index b01e806210c..82aac1fbd15 100644
--- a/app/views/projects/commit/branches.html.haml
+++ b/app/views/projects/commit/branches.html.haml
@@ -1,7 +1,7 @@
- if @branches.any?
%span
- branch = commit_default_branch(@project, @branches)
- = link_to(project_tree_path(@project, branch)) do
+ = link_to(namespace_project_tree_path(@project.namespace, @project, branch)) do
%span.label.label-gray
%i.fa.fa-code-fork
= branch
@@ -13,4 +13,4 @@
- if @branches.any?
= commit_branches_links(@project, @branches)
- if @tags.any?
- = commit_tags_links(@project, @tags) \ No newline at end of file
+ = commit_tags_links(@project, @tags)