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?
|
- if post.public?
|
||||||
%li= t('the_world')
|
%li= t('the_world')
|
||||||
- else
|
- else
|
||||||
- for aspect in post.aspects
|
- for aspect in aspects.select{|a| post.aspect_ids.include?(a.id)}
|
||||||
%li= link_to aspect.name, aspect
|
%li= link_to aspect.name, aspect
|
||||||
|
|
||||||
.right
|
.right
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue