invert query from offers->articles to articles->offers

This commit is contained in:
Ludovic CANDELLIER
2022-01-05 22:05:30 +01:00
parent a3c6fc6ebe
commit 95ca3c6404
17 changed files with 121 additions and 93 deletions

View File

@@ -20,6 +20,8 @@ class HomeController extends Controller
{
$data = self::init();
$data['offers'] = Offers::getLast()->toArray();
dump($data);
exit;
return view('Shop.home', $data);
}
}