summaryrefslogtreecommitdiffstats
path: root/app/views/settings
diff options
context:
space:
mode:
authorToshi MARUYAMA <marutosijp2@yahoo.co.jp>2014-01-10 12:49:04 +0000
committerToshi MARUYAMA <marutosijp2@yahoo.co.jp>2014-01-10 12:49:04 +0000
commit1c71eccff23063405ef3335836908b7de513fabc (patch)
treea3de28ca4434d9d697423942beeec022a8c0e8e1 /app/views/settings
parentfa544d99345fe23b51a427324266996154a02024 (diff)
downloadredmine-1c71eccff23063405ef3335836908b7de513fabc.tar.gz
redmine-1c71eccff23063405ef3335836908b7de513fabc.zip
remove unneeded Relation#all from app/views/settings/_repositories.html.erb
git-svn-id: http://svn.redmine.org/redmine/trunk@12613 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'app/views/settings')
-rw-r--r--app/views/settings/_repositories.html.erb4
1 files changed, 2 insertions, 2 deletions
diff --git a/app/views/settings/_repositories.html.erb b/app/views/settings/_repositories.html.erb
index 96f380e37..f54c219ac 100644
--- a/app/views/settings/_repositories.html.erb
+++ b/app/views/settings/_repositories.html.erb
@@ -95,7 +95,7 @@
"settings[commit_update_keywords][if_tracker_id][]",
options_for_select(
[[l(:label_all), ""]] +
- Tracker.sorted.all.map {|t| [t.name, t.id.to_s]},
+ Tracker.sorted.map {|t| [t.name, t.id.to_s]},
rule['if_tracker_id'])
) %>
</td>
@@ -107,7 +107,7 @@
<%= select_tag("settings[commit_update_keywords][status_id][]",
options_for_select(
[["", 0]] +
- IssueStatus.sorted.all.
+ IssueStatus.sorted.
collect{|status| [status.name, status.id.to_s]},
rule['status_id'])
) %>