Skip to content

Commit

Permalink
fix case where single table inheritence causes incorrect class name
Browse files Browse the repository at this point in the history
  • Loading branch information
acoffman committed Aug 23, 2024
1 parent ce87e67 commit f015a58
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ def mentioned_entities
{
entity_id: ref.entity.id,
display_name: ref.entity.name,
tag_type: ref.entity.class.to_s.underscore.upcase,
tag_type: ref.entity.class.base_class.to_s.underscore.upcase,
link: ref.entity.link
}
end
Expand Down

0 comments on commit f015a58

Please sign in to comment.