suite
This commit is contained in:
parent
b1c981493b
commit
52c9c53562
@ -3,6 +3,6 @@
|
||||
#block_portlet.block_portlets{:id => block.id, :"data-block_id"=>block.id, :class => ("block_portlets_sortable" if sortable).to_s}
|
||||
|
||||
|
||||
=render :partial => "portlet/portlets/portlet", :collection => block.portlets.find(:all, :order => :position, :include => :content)
|
||||
=render :partial => "portlet/portlets/portlet", :collection => block.portlets.order(:position).includes(:content).all
|
||||
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user