13 lines
404 B
Ruby
13 lines
404 B
Ruby
![]() |
class OutOfContextDiscussion < Discussion
|
||
|
# To make sure all out-of-context notes are displayed in one discussion,
|
||
|
# we override the discussion ID to be a newly generated but consistent ID.
|
||
|
def self.override_discussion_id(note)
|
||
|
discussion_id(note)
|
||
|
end
|
||
|
|
||
|
# Keep this method in sync with the `potentially_resolvable` scope on `ResolvableNote`
|
||
|
def potentially_resolvable?
|
||
|
false
|
||
|
end
|
||
|
end
|