Open
Description
I have laravel 11 and get this error:
Missing required parameter for [Route: ro.category.os] [URI: ro] [Missing parameter: subdomain].
this is the url: http://mac.laravel.baa/
The error is when i make dropdown for language with this href: <a class="dropdown-item" href="{{ Route::localizedUrl($locale) }}">
this is the route rule:
//--Categories 'windows', 'mac', 'linux', 'android', 'ios', 'huawei', 'categories
Route::pattern('subdomain', 'windows|mac|linux|android|ios|huawei|categories');
Route::domain('{subdomain}.'.config('app.domain'))->middleware('check.os.subdomain')->group(function (){
Route::localized(function () {
Route::get('/', [OsApps::class, 'index'])->name('category.os');
});
});
Metadata
Metadata
Assignees
Labels
No labels