Update lib/stream/followed_tag.rb

This commit is contained in:
memarko 2011-12-14 21:15:58 +01:00
parent 95790bf891
commit 890195b2d8

View file

@ -14,7 +14,6 @@ class Stream::FollowedTag < Stream::Base
# @return [ActiveRecord::Association<Post>] AR association of posts # @return [ActiveRecord::Association<Post>] AR association of posts
def posts def posts
return [] if tag_string.empty?
@posts ||= StatusMessage.user_tag_stream(user, tag_ids) @posts ||= StatusMessage.user_tag_stream(user, tag_ids)
end end