about summary refs log tree commit diff
path: root/app/models/status_mute.rb
diff options
context:
space:
mode:
Diffstat (limited to 'app/models/status_mute.rb')
-rw-r--r--app/models/status_mute.rb4
1 files changed, 4 insertions, 0 deletions
diff --git a/app/models/status_mute.rb b/app/models/status_mute.rb
index 3bfd9d51f..0d7f9ec78 100644
--- a/app/models/status_mute.rb
+++ b/app/models/status_mute.rb
@@ -9,6 +9,10 @@
 #
 
 class StatusMute < ApplicationRecord
+  include Cacheable
+
   belongs_to :account, inverse_of: :status_mutes
   belongs_to :status, inverse_of: :mutes
+
+  cache_associated :account, :status
 end