Order lodgings by created_at. A temporary hack

This commit is contained in:
Michael Ball 2020-01-07 00:19:50 -08:00
parent 5f1f93d221
commit 2fc88b3555

View file

@ -16,7 +16,7 @@
We recommend the following accommodations for your visit. We recommend the following accommodations for your visit.
.row.row-centered .row.row-centered
- lodgings.each do |lodging| - lodgings.order(created_at: :asc).each do |lodging|
.col-md-4.col-sm-4.col-centered.col-top .col-md-4.col-sm-4.col-centered.col-top
.thumbnail .thumbnail
- if lodging.picture? - if lodging.picture?