diff options
author | Matthew Landauer <matthew@openaustralia.org> | 2013-03-08 10:57:20 +1100 |
---|---|---|
committer | Matthew Landauer <matthew@openaustralia.org> | 2013-03-08 11:22:45 +1100 |
commit | 78e8f038750165c1ce48a7f3dc22762f90cfa66a (patch) | |
tree | 011af8c5204920f456912ed0cec6ad77f52babe2 | |
parent | 19ba90aa570869a682d0a9297ab537eab76a8c5f (diff) |
Would help if I wrote that helper correctly
-rwxr-xr-x | app/helpers/link_to_helper.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/app/helpers/link_to_helper.rb b/app/helpers/link_to_helper.rb index 9657845e0..44d85d830 100755 --- a/app/helpers/link_to_helper.rb +++ b/app/helpers/link_to_helper.rb @@ -96,8 +96,8 @@ module LinkToHelper end def public_body_both_links(public_body) - link_to('<i class="icon-eye-open"></i>'.html_safe, public_body_url(@blank_contact)) + " " + - link_to(h(@blank_contact.name), admin_body_show_path(@blank_contact)) + link_to('<i class="icon-eye-open"></i>'.html_safe, public_body_url(public_body)) + " " + + link_to(h(public_body.name), admin_body_show_path(public_body)) end # Users |