From 31429466c9e21f3360c9b550fa93170200f15493 Mon Sep 17 00:00:00 2001 From: Azul Date: Tue, 3 Sep 2013 11:08:42 +0200 Subject: clearify usage of V1::UsersController#index for autocomplete [skip ci] --- users/app/controllers/v1/users_controller.rb | 1 + 1 file changed, 1 insertion(+) (limited to 'users') diff --git a/users/app/controllers/v1/users_controller.rb b/users/app/controllers/v1/users_controller.rb index f380c19..4f82572 100644 --- a/users/app/controllers/v1/users_controller.rb +++ b/users/app/controllers/v1/users_controller.rb @@ -8,6 +8,7 @@ module V1 respond_to :json + # used for autocomplete for admins in the web ui def index if params[:query] @users = User.by_login.startkey(params[:query]).endkey(params[:query].succ) -- cgit v1.2.3