summaryrefslogtreecommitdiff
path: root/app/models/individual_note_discussion.rb
blob: c3f21c552404c81512fc272db1857ae1dfbabbe4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
# A discussion to wrap a single `Note` note on the root of an issue, merge request,
# commit, or snippet, that is not displayed as a discussion.
#
# A discussion of this type is never resolvable.
class IndividualNoteDiscussion < Discussion
  def self.note_class
    Note
  end

  def individual_note?
    true
  end
end