summaryrefslogtreecommitdiff
path: root/users/app/controllers
diff options
context:
space:
mode:
authorAzul <azul@leap.se>2012-11-26 18:06:21 +0100
committerAzul <azul@leap.se>2012-11-26 19:14:01 +0100
commita941c89293bcbb067c6152b63765ead38a484b81 (patch)
treedff2714a47805f248913fb9b4773a6e267d864b0 /users/app/controllers
parent9afcef0648f34435f40644242e038cafb1dce117 (diff)
basic typeahead and user querying working
Diffstat (limited to 'users/app/controllers')
-rw-r--r--users/app/controllers/users_controller.rb2
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