diff options
author | Douwe Maan <douwe@selenight.nl> | 2017-06-01 17:05:21 +0300 |
---|---|---|
committer | Douwe Maan <douwe@selenight.nl> | 2017-06-01 17:52:11 +0300 |
commit | 34fcade1fd104deecaba69dc050cf2dcabb9e866 (patch) | |
tree | 26dc1481a2ffbfd2f464811ea7f0d4558733598a /app/helpers | |
parent | c72abcefe79dd906cbbf0088b442a8979e9fc746 (diff) |
Fix replying to a commit discussion displayed in the context of an MR
Diffstat (limited to 'app/helpers')
-rw-r--r-- | app/helpers/notes_helper.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/helpers/notes_helper.rb b/app/helpers/notes_helper.rb index 375110b77e2..3d4802290b5 100644 --- a/app/helpers/notes_helper.rb +++ b/app/helpers/notes_helper.rb @@ -50,7 +50,7 @@ module NotesHelper def link_to_reply_discussion(discussion, line_type = nil) return unless current_user - data = { discussion_id: discussion.id, line_type: line_type } + data = { discussion_id: discussion.reply_id, line_type: line_type } button_tag 'Reply...', class: 'btn btn-text-field js-discussion-reply-button', data: data, title: 'Add a reply' |