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
diff options
context:
space:
mode:
authorDouwe Maan <douwe@gitlab.com>2017-06-23 21:45:33 +0300
committerkushalpandya <kushal@gitlab.com>2017-06-26 08:42:02 +0300
commitb4702282daeb7b05e8fc037219e5ebad422a870d (patch)
tree242f2a5237f8605505b2079396c63b73026ac535 /app
parent55e4987f7013d43a4022aac5d71c19c8cb86c9e2 (diff)
Merge branch 'mk-fix-breadcrumb-order-33938' into 'master'
Fix breadcrumb order Closes #33938 See merge request !12322
Diffstat (limited to 'app')
-rw-r--r--app/helpers/groups_helper.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/helpers/groups_helper.rb b/app/helpers/groups_helper.rb
index c003b01e226..eb45241615f 100644
--- a/app/helpers/groups_helper.rb
+++ b/app/helpers/groups_helper.rb
@@ -15,7 +15,7 @@ module GroupsHelper
@has_group_title = true
full_title = ''
- group.ancestors.each do |parent|
+ group.ancestors.reverse.each do |parent|
full_title += link_to(simple_sanitize(parent.name), group_path(parent), class: 'group-path hidable')
full_title += '<span class="hidable"> / </span>'.html_safe
end