summaryrefslogtreecommitdiff
path: root/app/helpers/groups_helper.rb
diff options
context:
space:
mode:
authorMichael Kozono <mkozono@gmail.com>2017-06-20 14:35:55 -0700
committerMichael Kozono <mkozono@gmail.com>2017-06-22 13:38:29 -0700
commitdaef4087127747d4bf13fc05d3c39f9a7cd72c01 (patch)
tree62d4b63c8e03ee2a8516228b0da858dc248115a8 /app/helpers/groups_helper.rb
parentbf0b3d835211077cb10ee3aec9ee6e0bca2304b6 (diff)
downloadgitlab-ce-daef4087127747d4bf13fc05d3c39f9a7cd72c01.tar.gz
Fix breadcrumb order
Diffstat (limited to 'app/helpers/groups_helper.rb')
-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