diff options
author | Alexis Reigel <alexis.reigel.ext@siemens.com> | 2018-12-18 11:35:54 +0300 |
---|---|---|
committer | Alexis Reigel <alexis.reigel.ext@siemens.com> | 2019-03-14 20:21:03 +0300 |
commit | b4437cfaecfcd0f48079a2027920e828ea1c7e48 (patch) | |
tree | f0e1792e375cfd466291a09ae444c76b43cbec10 /app/views/search | |
parent | db0cf709703f0cc344351d2a8fd28d7d51046296 (diff) |
use project_search_tabs? for user search check
Diffstat (limited to 'app/views/search')
-rw-r--r-- | app/views/search/_category.html.haml | 2 |
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 |