1Route::prefix('admin')->group(function () {
2 Route::get('/users', function () {
3 // Matches The "/admin/users" URL
4 });
5});
1 Route::group(['namespace' => 'App\Http\Controllers', 'prefix' => 'admin',
2 'as' => 'admin.', 'middleware' => ['auth:sanctum', 'verified']], function()
3{
4 Route::get('/dashboard', ['DashboardController', 'index']);
5});