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:
authorFilipa Lacerda <filipa@gitlab.com>2017-09-15 13:10:25 +0300
committerFilipa Lacerda <filipa@gitlab.com>2017-09-15 13:10:25 +0300
commit20295b3db379f4be02521cac591feca3452a2b1c (patch)
treea81b5ddb3bb6ed713a8a4a8066e6a5fac69e896d /app/helpers
parent6663db29ba3b25e05632c4d00c1d9e0136df8602 (diff)
parent8a2ca7639d48f8860b66f0c86ec6c9db1b9a64c5 (diff)
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.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