💄 Change l'ordre d'affichage

This commit is contained in:
Clement 2020-09-10 15:53:24 +02:00
parent c01399b17a
commit 1fb0562823

View File

@ -29,7 +29,9 @@ class PublicController extends Controller
public function list()
{
$homes = Home::where('slug', '!=', null)->paginate(12);
$homes = Home::where('slug', '!=', null)
->orderBy('created_at', 'desc')
->paginate(12);
$this->seo()
->setTitle('Liste des maisons rêvées')
->setDescription('La sélection');