summaryrefslogtreecommitdiff
path: root/users/app/views/emails
diff options
context:
space:
mode:
authorAzul <azul@leap.se>2012-12-17 17:48:39 +0100
committerAzul <azul@leap.se>2012-12-17 17:48:39 +0100
commitb90ce01890907d1c7f46f46bafcef416570a4c4b (patch)
treef8f7ac9560b37bba6272b0251f0be4d65e691314 /users/app/views/emails
parent7528695461f2c5725fe29787aa6bf703050a1a4a (diff)
enabled destroying email aliases - no ajax yet.
Diffstat (limited to 'users/app/views/emails')
-rw-r--r--users/app/views/emails/_email.html.haml3
1 files changed, 2 insertions, 1 deletions
diff --git a/users/app/views/emails/_email.html.haml b/users/app/views/emails/_email.html.haml
index f182ed9..f5eb2d0 100644
--- a/users/app/views/emails/_email.html.haml
+++ b/users/app/views/emails/_email.html.haml
@@ -1,4 +1,5 @@
%li.pull-right
%code= email
- %i.icon-remove
+ = link_to(user_email_alias_path(@user, email), :method => :delete) do
+ %i.icon-remove
.clearfix