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 ...@@ -21,10 +21,10 @@ module InterimStreamHackinessHelper
end end
def from_group(post) def from_group(post)
if params[:controller]== 'soups' if defined?(@stream) && params[:controller]== 'soups'
@stream.post_from_group(post) @stream.post_from_group(post)
else else
nil []
end end
end end
......
...@@ -30,7 +30,7 @@ class Stream::Base ...@@ -30,7 +30,7 @@ class Stream::Base
end end
def post_from_group(post) def post_from_group(post)
nil []
end end
# @return [String] # @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