diff options
author | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2014-09-22 21:02:43 +0300 |
---|---|---|
committer | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2014-09-22 21:02:43 +0300 |
commit | 6a1323f12aa8bfb655acbf6892b6210b32316bb4 (patch) | |
tree | ab257237347fb5d37de36f943e9eca382afb6f87 /app | |
parent | f96b954b1c1dc48dae2a5436c65d1ab4effffa42 (diff) | |
parent | 9439602edc1f4f5a5afaa160aff8daa1a994ee96 (diff) | |
download | gitlab-ce-6a1323f12aa8bfb655acbf6892b6210b32316bb4.tar.gz |
Merge pull request #7792 from cirosantilli/link_to_reply_diff
Fix link_to_reply_diff.
Diffstat (limited to 'app')
-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 |