Commit 19d91908 authored by Maxwell Salzberg's avatar Maxwell Salzberg Committed by danielgrippi

fix the aspect stream

parent 80a6a579
......@@ -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
......
......@@ -30,7 +30,7 @@ class Stream::Base
end
def post_from_group(post)
nil
[]
end
# @return [String]
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment