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
This commit is contained in:
parent
fa544d9934
commit
1c71eccff2
|
@ -95,7 +95,7 @@
|
||||||
"settings[commit_update_keywords][if_tracker_id][]",
|
"settings[commit_update_keywords][if_tracker_id][]",
|
||||||
options_for_select(
|
options_for_select(
|
||||||
[[l(:label_all), ""]] +
|
[[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'])
|
rule['if_tracker_id'])
|
||||||
) %>
|
) %>
|
||||||
</td>
|
</td>
|
||||||
|
@ -107,7 +107,7 @@
|
||||||
<%= select_tag("settings[commit_update_keywords][status_id][]",
|
<%= select_tag("settings[commit_update_keywords][status_id][]",
|
||||||
options_for_select(
|
options_for_select(
|
||||||
[["", 0]] +
|
[["", 0]] +
|
||||||
IssueStatus.sorted.all.
|
IssueStatus.sorted.
|
||||||
collect{|status| [status.name, status.id.to_s]},
|
collect{|status| [status.name, status.id.to_s]},
|
||||||
rule['status_id'])
|
rule['status_id'])
|
||||||
) %>
|
) %>
|
||||||
|
|
Loading…
Reference in New Issue