Defect #10600 ยป Fix-typo-in-watchers-search.diff
| app/controllers/watchers_controller.rb | ||
|---|---|---|
|
def autocomplete_for_user
|
||
|
@users = User.active.like(params[:q]).find(:all, :limit => 100)
|
||
|
if @watched
|
||
|
@user -= @watched.watcher_users
|
||
|
@users -= @watched.watcher_users
|
||
|
end
|
||
|
render :layout => false
|
||
|
end
|
||