favours user instead of officer

This commit is contained in:
Juanjo Bazán
2016-12-27 17:42:45 +01:00
parent 283a474135
commit a78fe197e9

View File

@@ -5,13 +5,13 @@
</tr>
</thead>
<tbody>
<% @officers.each do |officer| %>
<% @officers.each do |user| %>
<tr>
<td>
<%= officer.name %>
<%= user.name %>
</td>
<td>
<%= officer.email %>
<%= user.email %>
</td>
<td class="text-right">