diff options
Diffstat (limited to 'app/controllers/watchers_controller.rb')
-rw-r--r-- | app/controllers/watchers_controller.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/controllers/watchers_controller.rb b/app/controllers/watchers_controller.rb index a0be20faf..278ca1bc5 100644 --- a/app/controllers/watchers_controller.rb +++ b/app/controllers/watchers_controller.rb @@ -64,7 +64,7 @@ class WatchersController < ApplicationController end def autocomplete_for_user - @users = User.active.like(params[:q]).find(:all, :limit => 100) + @users = User.active.like(params[:q]).limit(100).all if @watched @users -= @watched.watcher_users end |