diff options
Diffstat (limited to 'app/models/projects/project_topic.rb')
-rw-r--r-- | app/models/projects/project_topic.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/models/projects/project_topic.rb b/app/models/projects/project_topic.rb index d4b456ef482..7021a48646a 100644 --- a/app/models/projects/project_topic.rb +++ b/app/models/projects/project_topic.rb @@ -3,6 +3,6 @@ module Projects class ProjectTopic < ApplicationRecord belongs_to :project - belongs_to :topic + belongs_to :topic, counter_cache: :total_projects_count end end |