stoic multilingual

This commit is contained in:
elvira
2026-09-28 18:17:33 +03:00
parent 023c11019c
commit aa051525a1
20 changed files with 696 additions and 27 deletions
+1 -1
View File
@@ -12,7 +12,7 @@ public function __construct(private readonly ProductService $products) {}
public function index(string $locale)
{
$page = StoicPage::firstWhere('slug', 'home');
$page = StoicPage::localized('home');
if (! $page) {
abort(404);