diff --git a/framework/core/src/Http/Router.php b/framework/core/src/Http/Router.php index 9615f3839..791db3264 100644 --- a/framework/core/src/Http/Router.php +++ b/framework/core/src/Http/Router.php @@ -71,7 +71,7 @@ class Router $routeData = $this->routeParser->parse($path); $this->dataGenerator->addRoute($method, $routeData, $handler); - $routeDate['method'] = $method; + $routeData['method'] = $method; $this->reverse[$name] = $routeData; return $this;