DEV: Add topic_hot_score association to topic.rb (#30795)

We have the other side of this association wired up -- 

da72ad4ecd/app/models/topic_hot_score.rb (L4)

This commit simply adds the association to `Topic` model so we can
reference the hot score.
This commit is contained in:
Mark VanLandingham 2025-01-15 10:14:33 -06:00 committed by GitHub
parent da72ad4ecd
commit a647031171
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -286,6 +286,7 @@ class Topic < ActiveRecord::Base
dependent: :destroy
has_one :top_topic
has_one :topic_hot_score
has_one :shared_draft, dependent: :destroy
has_one :published_page