diff --git a/src/Response.php b/src/Response.php index 0eb80a4..560a407 100755 --- a/src/Response.php +++ b/src/Response.php @@ -277,7 +277,7 @@ public function die($data, int $code = 500) public function redirect($url, int $status = 302, bool $exit = true) { if (is_array($url)) { - $url = app()->route($url[0]); + $url = app()->route($url[0], ...array_slice($url, 1)); } if (class_exists('Leaf\App') && !strpos($url, '://')) {