summaryrefslogtreecommitdiffstats
path: root/app/views/watchers/_new.html.erb
diff options
context:
space:
mode:
Diffstat (limited to 'app/views/watchers/_new.html.erb')
-rw-r--r--app/views/watchers/_new.html.erb6
1 files changed, 1 insertions, 5 deletions
diff --git a/app/views/watchers/_new.html.erb b/app/views/watchers/_new.html.erb
index e3443a1cd..6282d59aa 100644
--- a/app/views/watchers/_new.html.erb
+++ b/app/views/watchers/_new.html.erb
@@ -17,11 +17,7 @@
:project_id => @project) }')" %>
<div id="users_for_watcher">
- <%= principals_check_box_tags(
- 'watcher[user_ids][]',
- (watched ?
- watched.addable_watcher_users : User.active.limit(100).all)
- ) %>
+ <%= principals_check_box_tags('watcher[user_ids][]', users) %>
</div>
<p class="buttons">