Redirect:: route (profile) y with () en laravel
// For a route with the following URI: profile/{id}
return redirect()->route('profile', [$user]);
Redirect:: route (profile) y with () en laravel
// For a route with the following URI: profile/{id}
return redirect()->route('profile', ['id' => 1]);