From cb2c0941397719491976b6e410c3918475db469c Mon Sep 17 00:00:00 2001 From: danielgrippi Date: Sun, 11 Sep 2011 20:08:00 -0700 Subject: [PATCH] use method not instance var --- lib/aspect_stream.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/aspect_stream.rb b/lib/aspect_stream.rb index 74e4b87c6..a0946d2db 100644 --- a/lib/aspect_stream.rb +++ b/lib/aspect_stream.rb @@ -42,7 +42,7 @@ class AspectStream # @return [ActiveRecord::Association] AR association of posts def posts # NOTE(this should be something like Post.all_for_stream(@user, aspect_ids, {}) that calls visible_posts - @posts ||= @user.visible_posts(:by_members_of => @aspect_ids, + @posts ||= @user.visible_posts(:by_members_of => aspect_ids, :type => ['StatusMessage', 'Reshare', 'ActivityStreams::Photo'], :order => "#{@order} DESC", :max_time => @max_time