multilingual content, change in how we show header categories and homepage hero products

This commit is contained in:
elvira
2026-09-28 19:42:35 +03:00
parent 60ae6cf7a6
commit b522d60954
24 changed files with 250 additions and 63 deletions
+6
View File
@@ -131,4 +131,10 @@
->name('account.email.resend');
});
// Unmatched URLs would otherwise 404 during routing, before `web` and
// `locale` middleware run, so errors/404 would render with no session,
// no App::setLocale() and no URL::defaults() — the header's route()
// calls would then throw on the missing {locale}. Catching them here
// renders the 404 inside the locale group like any other page.
Route::fallback(fn () => abort(404));
});