diff --git a/framework/core/src/Http/Router.php b/framework/core/src/Http/Router.php index 791db3264..eeb7c465a 100644 --- a/framework/core/src/Http/Router.php +++ b/framework/core/src/Http/Router.php @@ -80,6 +80,7 @@ class Router public function getPath($name, $parameters = []) { $parts = $this->reverse[$name]; + array_forget($parts, 'method'); $path = implode('', array_map(function ($part) use ($parameters) { if (is_array($part)) {