diff options
author | Filipa Lacerda <filipa@gitlab.com> | 2017-09-15 10:10:25 +0000 |
---|---|---|
committer | Filipa Lacerda <filipa@gitlab.com> | 2017-09-15 10:10:25 +0000 |
commit | 20295b3db379f4be02521cac591feca3452a2b1c (patch) | |
tree | a81b5ddb3bb6ed713a8a4a8066e6a5fac69e896d /app/helpers | |
parent | 6663db29ba3b25e05632c4d00c1d9e0136df8602 (diff) | |
parent | 8a2ca7639d48f8860b66f0c86ec6c9db1b9a64c5 (diff) | |
download | gitlab-ce-20295b3db379f4be02521cac591feca3452a2b1c.tar.gz |
Merge branch 'revert-sidebar-title-attribute' into 'master'
Remove title attribute from sidebar elements
See merge request gitlab-org/gitlab-ce!14140
Diffstat (limited to 'app/helpers')
-rw-r--r-- | app/helpers/tab_helper.rb | 4 |
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 |