From b90ce01890907d1c7f46f46bafcef416570a4c4b Mon Sep 17 00:00:00 2001 From: Azul Date: Mon, 17 Dec 2012 17:48:39 +0100 Subject: enabled destroying email aliases - no ajax yet. --- users/app/views/emails/_email.html.haml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'users/app/views/emails/_email.html.haml') 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 -- cgit v1.2.3