laravel return redirect by stuckOverFlow code example
Example: laravel return redirect by stuckOverFlow
return redirect()->action(
[UserController::class, 'profile'], ['id' => 1]
);
return redirect()->action(
[UserController::class, 'profile'], ['id' => 1]
);