12 lines
366 B
Ruby
12 lines
366 B
Ruby
# 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
|
|
class IndividualNoteDiscussion < Discussion
|
|
# Keep this method in sync with the `potentially_resolvable` scope on `ResolvableNote`
|
|
def potentially_resolvable?
|
|
false
|
|
end
|
|
|
|
def individual_note?
|
|
true
|
|
end
|
|
end
|