From e0ee200eb77b3b69bd369a820e7d907ea1428220 Mon Sep 17 00:00:00 2001 From: Maxwell Salzberg Date: Fri, 14 Oct 2011 16:03:20 -0700 Subject: [PATCH] ajax that stream if you are not cachin' outrageous --- lib/stream/aspect.rb | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/lib/stream/aspect.rb b/lib/stream/aspect.rb index 1f6b9d37e..0ab9822f6 100644 --- a/lib/stream/aspect.rb +++ b/lib/stream/aspect.rb @@ -72,8 +72,11 @@ class Stream::Aspect< Stream::Base # # @return [Boolean] see #for_all_aspects? def ajax_stream? - #for_all_aspects? - false + if AppConfig[:redis_cache] + true + else + false + end end # The title that will display at the top of the stream's