diff options
author | Tim Zallmann <tzallmann@gitlab.com> | 2017-09-29 08:46:05 +0000 |
---|---|---|
committer | Tim Zallmann <tzallmann@gitlab.com> | 2017-09-29 08:46:05 +0000 |
commit | 0addef2e574a69c7dbb28179bf74672e98884806 (patch) | |
tree | 2c98d8b4d58cb0e94424e9d19ad414bd8380cdc1 /app/helpers | |
parent | a481337b6a1b30750a16fffe0e83521b7909b851 (diff) | |
parent | d0737b18856170d054c9235cd285d3eb5e45056b (diff) | |
download | gitlab-ce-0addef2e574a69c7dbb28179bf74672e98884806.tar.gz |
Merge branch 'breadcrumb-item-links' into 'master'
Fixed breadcrumb title not linking
Closes #38059
See merge request gitlab-org/gitlab-ce!14532
Diffstat (limited to 'app/helpers')
-rw-r--r-- | app/helpers/breadcrumbs_helper.rb | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/app/helpers/breadcrumbs_helper.rb b/app/helpers/breadcrumbs_helper.rb index ee1b7ed083e..87d2a47f6cb 100644 --- a/app/helpers/breadcrumbs_helper.rb +++ b/app/helpers/breadcrumbs_helper.rb @@ -10,11 +10,7 @@ module BreadcrumbsHelper def breadcrumb_title_link return @breadcrumb_link if @breadcrumb_link - if controller.available_action?(:index) - url_for(action: "index") - else - request.path - end + request.path end def breadcrumb_title(title) |