From 771a56f61806d00203402ae4443294c0b0968f84 Mon Sep 17 00:00:00 2001 From: Martin Edenhofer Date: Fri, 15 Jan 2016 20:08:17 +0100 Subject: [PATCH] Improved clode layout. --- app/models/user/search.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/models/user/search.rb b/app/models/user/search.rb index 7d6c6daf0..be2ae4de9 100644 --- a/app/models/user/search.rb +++ b/app/models/user/search.rb @@ -58,10 +58,10 @@ returns # try search index backend if SearchIndexBackend.enabled? - items = SearchIndexBackend.search( query, limit, 'User' ) + items = SearchIndexBackend.search(query, limit, 'User') users = [] items.each { |item| - users.push User.lookup( id: item[:id] ) + users.push User.lookup(id: item[:id]) } return users end