summaryrefslogtreecommitdiff
path: root/app/helpers
diff options
context:
space:
mode:
authorTim Zallmann <tzallmann@gitlab.com>2017-09-29 08:46:05 +0000
committerTim Zallmann <tzallmann@gitlab.com>2017-09-29 08:46:05 +0000
commit0addef2e574a69c7dbb28179bf74672e98884806 (patch)
tree2c98d8b4d58cb0e94424e9d19ad414bd8380cdc1 /app/helpers
parenta481337b6a1b30750a16fffe0e83521b7909b851 (diff)
parentd0737b18856170d054c9235cd285d3eb5e45056b (diff)
downloadgitlab-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.rb6
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)