]> source.dussan.org Git - redmine.git/commitdiff
cleanup syntax of Relation#all at app/views/watchers/_new.html.erb
authorToshi MARUYAMA <marutosijp2@yahoo.co.jp>
Sat, 11 Jan 2014 05:51:35 +0000 (05:51 +0000)
committerToshi MARUYAMA <marutosijp2@yahoo.co.jp>
Sat, 11 Jan 2014 05:51:35 +0000 (05:51 +0000)
git-svn-id: http://svn.redmine.org/redmine/trunk@12619 e93f8b46-1217-0410-a6f0-8f06a7374b81

app/views/watchers/_new.html.erb

index a303801eca269e11fe50816e78d7fac88fcbba79..e3443a1cd5610b0e238147deaaf5c16974ba6853 100644 (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>