summaryrefslogtreecommitdiff
path: root/app/views/search
diff options
context:
space:
mode:
authorNick Thomas <nick@gitlab.com>2017-08-22 16:10:49 +0100
committerNick Thomas <nick@gitlab.com>2017-08-24 11:32:50 +0100
commit061472864ceaa4dc837eebcaa583f7b81d4e7e54 (patch)
treee760782a7247ca457edafe13de309e67364354ea /app/views/search
parent502d6464b07154d74eecbeddbf2cd6dba841380f (diff)
downloadgitlab-ce-061472864ceaa4dc837eebcaa583f7b81d4e7e54.tar.gz
Fix group and project search for anonymous users
Diffstat (limited to 'app/views/search')
-rw-r--r--app/views/search/_form.html.haml2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/search/_form.html.haml b/app/views/search/_form.html.haml
index 3139be1cd37..a4a5cec1314 100644
--- a/app/views/search/_form.html.haml
+++ b/app/views/search/_form.html.haml
@@ -11,5 +11,5 @@
%span.sr-only
Clear search
- unless params[:snippets].eql? 'true'
- = render 'filter' if current_user
+ = render 'filter'
= button_tag "Search", class: "btn btn-success btn-search"