diff options
| author | mo khan <mo@mokhan.ca> | 2014-10-19 18:24:15 -0600 |
|---|---|---|
| committer | mo khan <mo@mokhan.ca> | 2014-10-19 18:24:15 -0600 |
| commit | d8e204f69c8317f04dcfc5f43c6f992d4fbfa9a3 (patch) | |
| tree | 6b1681ea837ce52a0841f4b3e7cd3071e4a436d2 /app/controllers/admin/users_controller.rb | |
| parent | c35586ca5319e8b1333d577cd5ced786d0c0c0a8 (diff) | |
allow for sorting and searching the admin users listing.
Diffstat (limited to 'app/controllers/admin/users_controller.rb')
| -rw-r--r-- | app/controllers/admin/users_controller.rb | 2 |
1 files changed, 1 insertions, 1 deletions
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 |
