Permalink
Browse files

order thumbnails correctly

  • Loading branch information...
1 parent 489b06c commit 17f55fade3e4f721c26156abca6de0e0890cf45f @sethvargo sethvargo committed Aug 25, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 app/views/pages/_double_column.html.haml
@@ -16,7 +16,7 @@
- if @page.children.active.size > 0
.product-thumbnails
- - @page.children.active.each do |child|
+ - @page.children.active.order(:display_order).each do |child|
.product-thumbnail
.product-content
= link_to child.title, slug_path(child), :class => 'product-title'

0 comments on commit 17f55fa

Please sign in to comment.