Redirects: Redirecting To Named Routes
// For a route with the following URI: profile/{id}
return redirect()->route('profile', ['id' => 1]); To generate a RedirectResponse to a named route, you may use the route method.
If your route has parameters, you may pass them as the second argument to the route method.
Populating Parameters Via Eloquent Models
Related concepts
→
Redirecting To Named Routes
→
Semantic portal