create middleware and use in route v3 and ignor one option in v2 route
This commit is contained in:
@@ -303,6 +303,9 @@ Route::get('map', function () {
|
||||
return view('version2.dashboard_pages.map');
|
||||
})->name('v2.map');
|
||||
|
||||
Route::any('/safety_and_privacy/{any?}', fn() => abort(404, 'not found'))
|
||||
->where('any', '.*');
|
||||
|
||||
Route::prefix('safety_and_privacy')->group(function () {
|
||||
|
||||
Route::get('/sub_item_list', 'V2\Dashboard\SafetyAndPrivacyController@subItemList');
|
||||
|
||||
Reference in New Issue
Block a user