Take queries out of reshare
This commit is contained in:
parent
c98f6f21c8
commit
a683512e6e
1 changed files with 2 additions and 0 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in a new issue