how to redirect to a laravel route from contyroller with request code example
Example: redirect to route laravel
Route::post('/user/profile', function () {
// Update the user's profile...
return redirect('/dashboard')->with('status', 'Profile updated!');
});