diff options
author | Azul <azul@leap.se> | 2012-11-26 18:06:21 +0100 |
---|---|---|
committer | Azul <azul@leap.se> | 2012-11-26 19:14:01 +0100 |
commit | a941c89293bcbb067c6152b63765ead38a484b81 (patch) | |
tree | dff2714a47805f248913fb9b4773a6e267d864b0 /users/app/controllers/users_controller.rb | |
parent | 9afcef0648f34435f40644242e038cafb1dce117 (diff) |
basic typeahead and user querying working
Diffstat (limited to 'users/app/controllers/users_controller.rb')
-rw-r--r-- | users/app/controllers/users_controller.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/users/app/controllers/users_controller.rb b/users/app/controllers/users_controller.rb index 09199f0..925b584 100644 --- a/users/app/controllers/users_controller.rb +++ b/users/app/controllers/users_controller.rb @@ -13,7 +13,7 @@ class UsersController < ApplicationController else @users = User.by_created_at.descending end - @users = @users.limit(5) + @users = @users.limit(10) respond_with @users.map(&:login).sort end |