individual_note_discussion.rb 320 Bytes
Newer Older
Douwe Maan's avatar
Douwe Maan committed
1
# A discussion to wrap a single `Note` note on the root of an issue, merge request,
Douwe Maan's avatar
Douwe Maan committed
2
# commit, or snippet, that is not displayed as a discussion.
3 4
#
# A discussion of this type is never resolvable.
5
class IndividualNoteDiscussion < Discussion
6 7
  def self.note_class
    Note
8 9
  end

Douwe Maan's avatar
Douwe Maan committed
10
  def individual_note?
11 12 13
    true
  end
end