From f2c4312f9f08d7534dd515b5530776eb3831ee68 Mon Sep 17 00:00:00 2001 From: Toks Date: Fri, 17 May 2013 15:07:51 -0400 Subject: [PATCH] fixes #1497 --- app/views/dmails/index.html.erb | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/app/views/dmails/index.html.erb b/app/views/dmails/index.html.erb index 812ead17f..b5e117c20 100644 --- a/app/views/dmails/index.html.erb +++ b/app/views/dmails/index.html.erb @@ -15,6 +15,7 @@ From To Subject + @@ -24,6 +25,9 @@ <%= link_to_user dmail.from %> <%= link_to_user dmail.to %> <%= link_to dmail.title, dmail_path(dmail) %> + + <%= link_to "delete", dmail_path(dmail), :method => :delete, :confirm => "Are you sure you want to delete this Dmail?" %> + <% end %>