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:
authorAlexis Reigel <alexis.reigel.ext@siemens.com>2018-12-18 11:35:54 +0300
committerAlexis Reigel <alexis.reigel.ext@siemens.com>2019-03-14 20:21:03 +0300
commitb4437cfaecfcd0f48079a2027920e828ea1c7e48 (patch)
treef0e1792e375cfd466291a09ae444c76b43cbec10 /app/views/search
parentdb0cf709703f0cc344351d2a8fd28d7d51046296 (diff)
use project_search_tabs? for user search check
Diffstat (limited to 'app/views/search')
-rw-r--r--app/views/search/_category.html.haml2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/search/_category.html.haml b/app/views/search/_category.html.haml
index 19d7d13512d..df408e5fb60 100644
--- a/app/views/search/_category.html.haml
+++ b/app/views/search/_category.html.haml
@@ -1,5 +1,5 @@
- users = capture_haml do
- - if can?(current_user, :read_users_list)
+ - if search_tabs?(:members)
%li{ class: active_when(@scope == 'users') }
= link_to search_filter_path(scope: 'users') do
Users