I have tried several different methods with no success. I get a blank page. I want to redirect to a page after deleting a record from a controller. The Laravel docs say this; https://laravel.com/docs/8.x/routing#redirect-routes
Route::redirect('/here', '/there');
I have this
Route::redirect('customers', 'customer' );
I have also tried this, but get this error Route [customers] not defined.
return redirect()->route('customers');
The route in my web.php looks like this.
Route::get('/customers', [CustomersController::class, 'index']);