From 366e6976d2932a5bb56b904a44c1e94fdfca7c5d Mon Sep 17 00:00:00 2001 From: Andrew Tomaka Date: Mon, 27 Oct 2014 12:58:40 -0400 Subject: [PATCH] Use trash icon --- app/views/friendships/index.html.erb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/views/friendships/index.html.erb b/app/views/friendships/index.html.erb index c4db4ac..c33245a 100644 --- a/app/views/friendships/index.html.erb +++ b/app/views/friendships/index.html.erb @@ -16,8 +16,8 @@ <%= link_to friendship.friend.name, friendship.friend %> <%= friendship.created_at %> <%= friendship.updated_at %> - [ <%= link_to 'Destroy', friendship, method: :delete, - data: { confirm: 'Are you sure?' } %> ] + <%= link_to glyph('trash'), friendship, method: :delete, + data: { confirm: 'Are you sure?' } %> <% end %>