From 8792e2851927e216e2f59ddd08f63bb6cd318d45 Mon Sep 17 00:00:00 2001 From: henning mueller Date: Mon, 17 Feb 2014 13:44:37 +0100 Subject: [PATCH] Fixed bug introduced by refactoring. --- app/assets/stylesheets/alias-goto-list-item.css.scss | 3 +++ app/helpers/aliases_helper.rb | 3 ++- 2 files changed, 5 insertions(+), 1 deletion(-) create mode 100644 app/assets/stylesheets/alias-goto-list-item.css.scss diff --git a/app/assets/stylesheets/alias-goto-list-item.css.scss b/app/assets/stylesheets/alias-goto-list-item.css.scss new file mode 100644 index 0000000..1ce0b24 --- /dev/null +++ b/app/assets/stylesheets/alias-goto-list-item.css.scss @@ -0,0 +1,3 @@ +p.alias-goto-list-item { + margin: 0; +} diff --git a/app/helpers/aliases_helper.rb b/app/helpers/aliases_helper.rb index c8f33d3..a490c36 100644 --- a/app/helpers/aliases_helper.rb +++ b/app/helpers/aliases_helper.rb @@ -13,9 +13,10 @@ def address_list(string) o = Lookup.by_email(a) a = link_to a, [:edit, :admin, o.domain, o] rescue Lookup::Error - a = content_tag :p, a end + a = content_tag :p, a, class: 'alias-goto-list-item' + html.push a end