generated from boboko/starter
multilingual content, change in how we show header categories and homepage hero products
This commit is contained in:
@@ -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