Skip to content

Commit

Permalink
fixup! Update Notable concern
Browse files Browse the repository at this point in the history
  • Loading branch information
gbp committed Mar 26, 2024
1 parent e5c625c commit 67f1ebc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/models/concerns/notable.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 67f1ebc

Please sign in to comment.