From f98ff61e16a6dc97a1be3c2f1199d1416586384f Mon Sep 17 00:00:00 2001 From: Ilya Zhitomirskiy Date: Tue, 4 Oct 2011 18:47:57 -0700 Subject: [PATCH] fix cache updating on post creation for a user --- lib/diaspora/redis_cache.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/diaspora/redis_cache.rb b/lib/diaspora/redis_cache.rb index 4a10594df..6a5ef0018 100644 --- a/lib/diaspora/redis_cache.rb +++ b/lib/diaspora/redis_cache.rb @@ -79,7 +79,7 @@ class RedisCache # exposing the need to tie cache to a stream # @return [Array] Acceptable Post types for the given cache def self.acceptable_types - AspectStream::TYPES_OF_POST_IN_STREAM + ::AspectStream::TYPES_OF_POST_IN_STREAM end protected