From b1d125d704ae727e97c39e147814194ac7d7b9d6 Mon Sep 17 00:00:00 2001 From: multiple creatures Date: Fri, 2 Aug 2019 03:36:13 -0500 Subject: unbreak the universe - `Redis.cache` -> `Redis.current` --- app/helpers/filter_helper.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'app/helpers') diff --git a/app/helpers/filter_helper.rb b/app/helpers/filter_helper.rb index 3120f5033..1eb05ca17 100644 --- a/app/helpers/filter_helper.rb +++ b/app/helpers/filter_helper.rb @@ -43,10 +43,10 @@ module FilterHelper def filter_thread(account_id, conversation_id) return if Status.where(account_id: account_id, conversation_id: conversation_id).exists? - Redis.cache.sadd("filtered_threads:#{account_id}", conversation_id) + Redis.current.sadd("filtered_threads:#{account_id}", conversation_id) end def filtering_thread?(account_id, conversation_id) - Redis.cache.sismember("filtered_threads:#{account_id}", conversation_id) + Redis.current.sismember("filtered_threads:#{account_id}", conversation_id) end end -- cgit