Take a query out
This commit is contained in:
parent
d2bfffca92
commit
68c0682ed0
1 changed files with 1 additions and 1 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in a new issue