From 9439602edc1f4f5a5afaa160aff8daa1a994ee96 Mon Sep 17 00:00:00 2001 From: Ciro Santilli Date: Fri, 19 Sep 2014 14:09:50 +0200 Subject: [PATCH] Fix link_to_reply_diff. --- app/helpers/notes_helper.rb | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/app/helpers/notes_helper.rb b/app/helpers/notes_helper.rb index 53ac5febd61..cddcae464b0 100644 --- a/app/helpers/notes_helper.rb +++ b/app/helpers/notes_helper.rb @@ -69,9 +69,8 @@ module NotesHelper link_to "javascript:;", class: "btn reply-btn js-discussion-reply-button", data: data, title: "Add a reply" do - link_text = "" - link_text < content_tag(:i, nil, class: 'icon-comment') - link_text << "Reply" - end + link_text = content_tag(:i, nil, class: 'icon-comment') + link_text << ' Reply' + end end end