multilingual content, change in how we show header categories and homepage hero products
This commit is contained in:
1 parent
60ae6cf7a6
commit
b522d60954
24 files changed
+250
-63
No files matched your search
@@ -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));
|
||||
});
|
||||
Reference in new issue
Block a user