DEV: Add has_many category_tag_stats in tag.rb (#9558)
This commit is contained in:
parent
056327c0c9
commit
d8c884a856
|
@ -28,6 +28,7 @@ class Tag < ActiveRecord::Base
|
|||
has_many :topic_tags, dependent: :destroy
|
||||
has_many :topics, through: :topic_tags
|
||||
|
||||
has_many :category_tag_stats, dependent: :destroy
|
||||
has_many :category_tags, dependent: :destroy
|
||||
has_many :categories, through: :category_tags
|
||||
|
||||
|
|
Loading…
Reference in New Issue