diff options
author | Valery Sizov <valery@gitlab.com> | 2017-05-23 13:40:18 +0300 |
---|---|---|
committer | Valery Sizov <valery@gitlab.com> | 2017-05-29 16:20:25 +0300 |
commit | 1a424a9bc9cf1fbabd70ac2384978ae94674e6d7 (patch) | |
tree | 99d756dc5965119793e95eaecc51b33bb0451efc /app/views/search | |
parent | 7487d06c4ba7f186fddc11aa39ab66e8cb4ccc14 (diff) | |
download | gitlab-ce-1a424a9bc9cf1fbabd70ac2384978ae94674e6d7.tar.gz |
Explicitly test that guest is able to search through the wiki
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 7ec4aa9998f..df73fb173a8 100644 --- a/app/views/search/_category.html.haml +++ b/app/views/search/_category.html.haml @@ -27,7 +27,7 @@ Milestones %span.badge = @search_results.milestones_count - - if can?(current_user, :read_merge_request, @project) || can?(current_user, :read_issue, @project) + - if show_notes_tab? %li{ class: active_when(@scope == 'notes') } = link_to search_filter_path(scope: 'notes') do Comments |