summaryrefslogtreecommitdiff
path: root/app/models/legacy_diff_note.rb
diff options
context:
space:
mode:
authorDouwe Maan <douwe@selenight.nl>2016-11-27 22:12:02 +0800
committerDouwe Maan <douwe@selenight.nl>2016-11-30 17:46:46 +0800
commit842486f5c812a5a1c7eb585a14f7acbee92ad3a6 (patch)
tree5c64aca547dd08308c9bb755636c16cce60803c1 /app/models/legacy_diff_note.rb
parent098066050d148deb024fdec6c36bfe9320c674bd (diff)
downloadgitlab-ce-new-resolvable-discussion.tar.gz
Diffstat (limited to 'app/models/legacy_diff_note.rb')
-rw-r--r--app/models/legacy_diff_note.rb4
1 files changed, 4 insertions, 0 deletions
diff --git a/app/models/legacy_diff_note.rb b/app/models/legacy_diff_note.rb
index 40277a9b139..b71aa71b8fe 100644
--- a/app/models/legacy_diff_note.rb
+++ b/app/models/legacy_diff_note.rb
@@ -13,6 +13,10 @@ class LegacyDiffNote < Note
end
end
+ def discussion_class
+ LegacyDiffDiscussion
+ end
+
def legacy_diff_note?
true
end