diff options
author | Douwe Maan <douwe@selenight.nl> | 2017-03-15 18:14:58 -0600 |
---|---|---|
committer | Luke "Jared" Bennett <lbennett@gitlab.com> | 2017-04-05 17:44:14 +0100 |
commit | f6f6aaf593dc40c79b8e3536f5e2821c96b9dcd3 (patch) | |
tree | 2291c4c92889f11e1bdbabe640205debb1e88029 /app/models/diff_discussion.rb | |
parent | 76aa0bedd7ed3aaaeab9402b78261917df66de10 (diff) | |
download | gitlab-ce-f6f6aaf593dc40c79b8e3536f5e2821c96b9dcd3.tar.gz |
Better notification emails for notes and (diff) discussions
Diffstat (limited to 'app/models/diff_discussion.rb')
-rw-r--r-- | app/models/diff_discussion.rb | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/app/models/diff_discussion.rb b/app/models/diff_discussion.rb index 9a934c7520c..9c80b190b74 100644 --- a/app/models/diff_discussion.rb +++ b/app/models/diff_discussion.rb @@ -4,12 +4,14 @@ class DiffDiscussion < Discussion delegate :line_code, :original_line_code, :diff_file, + :diff_line, :for_line?, :active?, to: :first_note - delegate :blob, + delegate :file_path, + :blob, :highlighted_diff_lines, :diff_lines, |