Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/app/views
diff options
context:
space:
mode:
authorDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2014-05-23 14:29:14 +0400
committerDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2014-05-23 14:29:14 +0400
commitb44138ae4030bb5b63af4f4d835ddceb06c1b953 (patch)
tree3ec31a34c5586b3f2fb0f96cc6bc981e6990fdd8 /app/views
parenta5e1624359d9960782cd76f24c6300aeb28a2746 (diff)
Branch link on branches page goes to tree view instead of commits
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
Diffstat (limited to 'app/views')
-rw-r--r--app/views/projects/branches/_branch.html.haml2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/projects/branches/_branch.html.haml b/app/views/projects/branches/_branch.html.haml
index 87f4dd88c27..d5f7dacaa05 100644
--- a/app/views/projects/branches/_branch.html.haml
+++ b/app/views/projects/branches/_branch.html.haml
@@ -1,7 +1,7 @@
- commit = @repository.commit(branch.target)
%li
%h4
- = link_to project_commits_path(@project, branch.name) do
+ = link_to project_tree_path(@project, branch.name) do
%strong= truncate(branch.name, length: 60)
- if branch.name == @repository.root_ref
%span.label.label-info default