diff options
author | Ciro Santilli <ciro.santilli@gmail.com> | 2014-09-19 14:09:50 +0200 |
---|---|---|
committer | Ciro Santilli <ciro.santilli@gmail.com> | 2014-09-19 14:15:24 +0200 |
commit | 9439602edc1f4f5a5afaa160aff8daa1a994ee96 (patch) | |
tree | eb1f308fc43628595fd6e5f29975304b99558091 /app/helpers/notes_helper.rb | |
parent | ac516abe957d9cf0c1ce7ec80fa47eebf6ace0d4 (diff) | |
download | gitlab-ce-9439602edc1f4f5a5afaa160aff8daa1a994ee96.tar.gz |
Fix link_to_reply_diff.
Diffstat (limited to 'app/helpers/notes_helper.rb')
-rw-r--r-- | app/helpers/notes_helper.rb | 7 |
1 files 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 |