DEV: Add has_many category_tag_stats in tag.rb (#9558)

This commit is contained in:
Mark VanLandingham 2020-04-27 12:42:13 -05:00 committed by GitHub
parent 056327c0c9
commit d8c884a856
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 0 deletions

View File

@ -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