summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorToshi MARUYAMA <marutosijp2@yahoo.co.jp>2014-01-11 05:51:35 +0000
committerToshi MARUYAMA <marutosijp2@yahoo.co.jp>2014-01-11 05:51:35 +0000
commit39ceaa7d55ce2cb479750fad570a59f309c97263 (patch)
treedb11c6ff7f3bed878800ee34cfc3069187078073
parent2066969c7d8377af1cf2dfef0eac30cce37bbdc0 (diff)
downloadredmine-39ceaa7d55ce2cb479750fad570a59f309c97263.tar.gz
redmine-39ceaa7d55ce2cb479750fad570a59f309c97263.zip
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
-rw-r--r--app/views/watchers/_new.html.erb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/watchers/_new.html.erb b/app/views/watchers/_new.html.erb
index a303801ec..e3443a1cd 100644
--- a/app/views/watchers/_new.html.erb
+++ b/app/views/watchers/_new.html.erb
@@ -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>