From 67f1ebca63c9247d73691b6b6332072c185cc84b Mon Sep 17 00:00:00 2001 From: Graeme Porteous Date: Tue, 26 Mar 2024 23:39:10 +0000 Subject: [PATCH] fixup! Update Notable concern --- app/models/concerns/notable.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/models/concerns/notable.rb b/app/models/concerns/notable.rb index f82431a03b..bd881c2f8f 100644 --- a/app/models/concerns/notable.rb +++ b/app/models/concerns/notable.rb @@ -11,7 +11,7 @@ module Notable def all_notes notes = concrete_notes.with_translations - return notes.to_a unless Taggable.models.include?(self) + return notes.to_a unless Taggable.models.include?(self.class) notes + tagged_notes.with_translations end