##// END OF EJS Templates
remove unneeded Relation#all from app/views/settings/_repositories.html.erb...
Toshi MARUYAMA -
r12338:1c71eccff230
parent child
Show More
@@ -95,7 +95,7
95 "settings[commit_update_keywords][if_tracker_id][]",
95 "settings[commit_update_keywords][if_tracker_id][]",
96 options_for_select(
96 options_for_select(
97 [[l(:label_all), ""]] +
97 [[l(:label_all), ""]] +
98 Tracker.sorted.all.map {|t| [t.name, t.id.to_s]},
98 Tracker.sorted.map {|t| [t.name, t.id.to_s]},
99 rule['if_tracker_id'])
99 rule['if_tracker_id'])
100 ) %>
100 ) %>
101 </td>
101 </td>
@@ -107,7 +107,7
107 <%= select_tag("settings[commit_update_keywords][status_id][]",
107 <%= select_tag("settings[commit_update_keywords][status_id][]",
108 options_for_select(
108 options_for_select(
109 [["", 0]] +
109 [["", 0]] +
110 IssueStatus.sorted.all.
110 IssueStatus.sorted.
111 collect{|status| [status.name, status.id.to_s]},
111 collect{|status| [status.name, status.id.to_s]},
112 rule['status_id'])
112 rule['status_id'])
113 ) %>
113 ) %>
General Comments 0
You need to be logged in to leave comments. Login now