Order lodgings by created_at. A temporary hack
This commit is contained in:
parent
5f1f93d221
commit
2fc88b3555
1 changed files with 1 additions and 1 deletions
|
|
@ -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?
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue