fix the aspect stream

This commit is contained in:
Maxwell Salzberg 2011-10-21 10:33:21 -07:00 committed by danielgrippi
parent 80a6a57992
commit 19d91908e3
2 changed files with 3 additions and 3 deletions

View file

@ -21,10 +21,10 @@ module InterimStreamHackinessHelper
end
def from_group(post)
if params[:controller]== 'soups'
if defined?(@stream) && params[:controller]== 'soups'
@stream.post_from_group(post)
else
nil
[]
end
end

View file

@ -30,7 +30,7 @@ class Stream::Base
end
def post_from_group(post)
nil
[]
end
# @return [String]