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
diff options
context:
space:
mode:
authorPhil Hughes <me@iamphill.com>2017-09-08 12:59:59 +0300
committerPhil Hughes <me@iamphill.com>2017-09-13 16:30:31 +0300
commit577d3fffaea05804db401736ea90b6b0436a9cde (patch)
treef489084edf64b599b33bc2e72f5b7933dfa383a4 /app/helpers
parent7bd66b7612dde47a85ca19d478fdd32810eb55de (diff)
Remove title attribute from sidebar elements
Diffstat (limited to 'app/helpers')
-rw-r--r--app/helpers/tab_helper.rb4
1 files changed, 0 insertions, 4 deletions
diff --git a/app/helpers/tab_helper.rb b/app/helpers/tab_helper.rb
index 3308ab0c259..ee701076a14 100644
--- a/app/helpers/tab_helper.rb
+++ b/app/helpers/tab_helper.rb
@@ -119,8 +119,4 @@ module TabHelper
'active' if current_controller?('oauth/applications')
end
-
- def sidebar_link(href, title: nil, css: nil, &block)
- link_to capture(&block), href, title: (title if collapsed_sidebar?), class: css, aria: { label: title }
- end
end