summaryrefslogtreecommitdiff
path: root/app/helpers/tab_helper.rb
diff options
context:
space:
mode:
authorPhil Hughes <me@iamphill.com>2017-09-08 10:59:59 +0100
committerPhil Hughes <me@iamphill.com>2017-09-13 14:30:31 +0100
commit577d3fffaea05804db401736ea90b6b0436a9cde (patch)
treef489084edf64b599b33bc2e72f5b7933dfa383a4 /app/helpers/tab_helper.rb
parent7bd66b7612dde47a85ca19d478fdd32810eb55de (diff)
downloadgitlab-ce-577d3fffaea05804db401736ea90b6b0436a9cde.tar.gz
Remove title attribute from sidebar elements
Diffstat (limited to 'app/helpers/tab_helper.rb')
-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