Take a query out

This commit is contained in:
Raphael 2010-11-27 22:21:15 -05:00
parent d2bfffca92
commit 68c0682ed0

View file

@ -17,7 +17,7 @@
- if post.public?
%li= t('the_world')
- else
- for aspect in post.aspects
- for aspect in aspects.select{|a| post.aspect_ids.include?(a.id)}
%li= link_to aspect.name, aspect
.right