laravel resource route has no parameter route:list code example
Example: laravel route namespace and prefix
use App\Models\User;
Route::get('/users/{user}', function (User $user) {
return $user->email;
});
use App\Models\User;
Route::get('/users/{user}', function (User $user) {
return $user->email;
});