diff --git a/src/Service/Router.php b/src/Service/Router.php index 3c3d3e4..a9db1a7 100644 --- a/src/Service/Router.php +++ b/src/Service/Router.php @@ -16,7 +16,7 @@ use Closure; /* * A small router implementation for the address book demo. * Currently it doesn't handle GET requests, as not needed. - * But if I reuse the code in my bind Api I'll enable GET as well. + * But if I reuse the code in my bindApi I'll support GET as well. */ class Router @@ -58,8 +58,6 @@ class Router } else { $this->staticRoutes[] = $route; } - - $this->routes[] = $route; } /*