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