Use new milestone order_by_publication_date order scope

This commit is contained in:
Bertocq
2018-02-03 19:15:59 +01:00
parent a297faec4b
commit 770086779e
2 changed files with 2 additions and 2 deletions

View File

@@ -12,7 +12,7 @@
</tr>
</thead>
<tbody>
<% @investment.milestones.each do |milestone| %>
<% @investment.milestones.order_by_publication_date.each do |milestone| %>
<tr id="<%= dom_id(milestone) %>" class="milestone">
<td class="text-center"><%= milestone.id %></td>
<td>