diff --git a/src/Router.php b/src/Router.php index fb4fe73..f5790d6 100644 --- a/src/Router.php +++ b/src/Router.php @@ -28,7 +28,7 @@ class Router $trimmed = self::trimRoute($route); - self::$routes[$trimmed] = [ + self::$routes[] = [ 'route' => $trimmed, 'action' => $action, 'methods' => $methods,