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 %>