about summary refs log tree commit diff
path: root/app/models/feed.rb
diff options
context:
space:
mode:
Diffstat (limited to 'app/models/feed.rb')
-rw-r--r--app/models/feed.rb6
1 files changed, 2 insertions, 4 deletions
diff --git a/app/models/feed.rb b/app/models/feed.rb
index 5bce88f25..0e8943ff8 100644
--- a/app/models/feed.rb
+++ b/app/models/feed.rb
@@ -1,6 +1,8 @@
 # frozen_string_literal: true
 
 class Feed
+  include Redisable
+
   def initialize(type, id)
     @type = type
     @id   = id
@@ -27,8 +29,4 @@ class Feed
   def key
     FeedManager.instance.key(@type, @id)
   end
-
-  def redis
-    Redis.current
-  end
 end