summaryrefslogtreecommitdiff
path: root/app/views/search
diff options
context:
space:
mode:
authorAlfredo Sumaran <alfredo@gitlab.com>2016-03-01 20:09:30 -0500
committerAlfredo Sumaran <alfredo@gitlab.com>2016-03-01 20:09:30 -0500
commitf01c54eeef9a30044d974403aec371577e1a04c2 (patch)
tree35dd431ea4d100a910859fa35444b59bad745c8f /app/views/search
parent6aa50165b0acc355925e271f07ef8e87291e0232 (diff)
downloadgitlab-ce-f01c54eeef9a30044d974403aec371577e1a04c2.tar.gz
Include pagination for other than projects search
Diffstat (limited to 'app/views/search')
-rw-r--r--app/views/search/_results.html.haml2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/search/_results.html.haml b/app/views/search/_results.html.haml
index eef7b7b5efd..e389ec1d2b2 100644
--- a/app/views/search/_results.html.haml
+++ b/app/views/search/_results.html.haml
@@ -18,7 +18,7 @@
= render 'shared/projects/list', projects: @objects
- else
= render partial: "search/results/#{@scope.singularize}", collection: @objects
- = paginate @objects, theme: 'gitlab'
+ = paginate @objects, theme: 'gitlab'
:javascript
$(".search-results .term").highlight("#{escape_javascript(params[:search])}");