Laravel - Responses - Redirecting Controller Actions
You may also generate redirects to controller actions. To do so, pass the controller and action name to the action
method:
use App\Http\Controllers\UserController;
return redirect()->action([UserController::class, 'index']);
If your controller route requires parameters, you may pass them as the second argument to the action
method:
return redirect()->action(
[UserController::class, 'profile'], ['id' => 1]
);