1
0
Fork 0

Use trash icon

This commit is contained in:
Andrew Tomaka 2014-10-27 12:58:40 -04:00
parent 01d6c0e97d
commit 366e6976d2
1 changed files with 2 additions and 2 deletions

View File

@ -16,8 +16,8 @@
<td><%= link_to friendship.friend.name, friendship.friend %></td>
<td><%= friendship.created_at %></td>
<td><%= friendship.updated_at %></td>
<td>[ <%= link_to 'Destroy', friendship, method: :delete,
data: { confirm: 'Are you sure?' } %> ]</td>
<td><%= link_to glyph('trash'), friendship, method: :delete,
data: { confirm: 'Are you sure?' } %></td>
</tr>
<% end %>
</tbody>