From d8e204f69c8317f04dcfc5f43c6f992d4fbfa9a3 Mon Sep 17 00:00:00 2001 From: mo khan Date: Sun, 19 Oct 2014 18:24:15 -0600 Subject: allow for sorting and searching the admin users listing. --- app/controllers/admin/users_controller.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'app/controllers/admin/users_controller.rb') diff --git a/app/controllers/admin/users_controller.rb b/app/controllers/admin/users_controller.rb index abc33286..67dbb95d 100644 --- a/app/controllers/admin/users_controller.rb +++ b/app/controllers/admin/users_controller.rb @@ -6,7 +6,7 @@ module Admin end def index - @users = repository.search_by(params[:q]) + @users = repository.search_with(params) end def show -- cgit v1.2.3