diff --git a/app/views/people/index.html.haml b/app/views/people/index.html.haml index 651251ff223c4f0a3b14b832399dc9fe8bb70b4b..67e31715bb6a13995a4f50a5fe0e34214f74373f 100644 --- a/app/views/people/index.html.haml +++ b/app/views/people/index.html.haml @@ -27,7 +27,7 @@ $(document).ready(function() { setTimeout("runDelayedSearch('#{@background_query}')", 10000); }); - else - for hash in @hashes - = render :partial => 'people/person.html', :locals => hash + = render :partial => 'people/person', :locals => hash = will_paginate @people