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> </tr>
</thead> </thead>
<tbody> <tbody>
<% @officers.each do |officer| %> <% @officers.each do |user| %>
<tr> <tr>
<td> <td>
<%= officer.name %> <%= user.name %>
</td> </td>
<td> <td>
<%= officer.email %> <%= user.email %>
</td> </td>
<td class="text-right"> <td class="text-right">