cleanup syntax of Relation#all at app/views/watchers/_new.html.erb

git-svn-id: http://svn.redmine.org/redmine/trunk@12619 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
Toshi MARUYAMA 2014-01-11 05:51:35 +00:00
parent 2066969c7d
commit 39ceaa7d55
1 changed files with 1 additions and 1 deletions

View File

@ -20,7 +20,7 @@
<%= principals_check_box_tags(
'watcher[user_ids][]',
(watched ?
watched.addable_watcher_users : User.active.all(:limit => 100))
watched.addable_watcher_users : User.active.limit(100).all)
) %>
</div>