From a683512e6e5649184e829ed2e2e3e18945b585fd Mon Sep 17 00:00:00 2001 From: Raphael Date: Tue, 30 Nov 2010 11:43:08 -0800 Subject: [PATCH] Take queries out of reshare --- app/views/shared/_stream_element.html.haml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/app/views/shared/_stream_element.html.haml b/app/views/shared/_stream_element.html.haml index f5bf3afc6..e2280eb93 100644 --- a/app/views/shared/_stream_element.html.haml +++ b/app/views/shared/_stream_element.html.haml @@ -18,6 +18,8 @@ =aspect_links(aspects_with_post(aspects, post)) .right + + - reshare_aspects = aspects_without_post(aspects, post) - unless reshare_aspects.empty? = render 'shared/reshare', :aspects => reshare_aspects, :post => post