💄 Change l'ordre d'affichage
This commit is contained in:
parent
c01399b17a
commit
1fb0562823
@ -29,7 +29,9 @@ class PublicController extends Controller
|
|||||||
|
|
||||||
public function list()
|
public function list()
|
||||||
{
|
{
|
||||||
$homes = Home::where('slug', '!=', null)->paginate(12);
|
$homes = Home::where('slug', '!=', null)
|
||||||
|
->orderBy('created_at', 'desc')
|
||||||
|
->paginate(12);
|
||||||
$this->seo()
|
$this->seo()
|
||||||
->setTitle('Liste des maisons rêvées')
|
->setTitle('Liste des maisons rêvées')
|
||||||
->setDescription('La sélection');
|
->setDescription('La sélection');
|
||||||
|
Loading…
Reference in New Issue
Block a user