diff options
author | Douwe Maan <douwe@selenight.nl> | 2016-08-19 20:38:40 +0300 |
---|---|---|
committer | Douwe Maan <douwe@selenight.nl> | 2016-08-19 20:38:40 +0300 |
commit | 080924f979df39ad96eb1ab4a029d032bcba6e86 (patch) | |
tree | 2451fa0f6a8d0eb82b42789b40150f6a13243910 /app/views/discussions/_diff_with_notes.html.haml | |
parent | 8d3ef366222423a295fed676bdddd1060071320e (diff) |
Fix bug where notes weren’t shown in discussion when the code had changed after creation
Diffstat (limited to 'app/views/discussions/_diff_with_notes.html.haml')
-rw-r--r-- | app/views/discussions/_diff_with_notes.html.haml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/discussions/_diff_with_notes.html.haml b/app/views/discussions/_diff_with_notes.html.haml index b2e55f7647a..3a95a652810 100644 --- a/app/views/discussions/_diff_with_notes.html.haml +++ b/app/views/discussions/_diff_with_notes.html.haml @@ -7,7 +7,7 @@ .diff-content.code.js-syntax-highlight %table - - discussions = { discussion.line_code => discussion } + - discussions = { discussion.original_line_code => discussion } = render partial: "projects/diffs/line", collection: discussion.truncated_diff_lines, as: :line, |