removed a leftover from the last refactoring
This commit is contained in:
parent
9b5f3a2847
commit
18a754add7
|
@ -16,7 +16,7 @@ use Closure;
|
||||||
/*
|
/*
|
||||||
* A small router implementation for the address book demo.
|
* A small router implementation for the address book demo.
|
||||||
* Currently it doesn't handle GET requests, as not needed.
|
* 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
|
class Router
|
||||||
|
@ -58,8 +58,6 @@ class Router
|
||||||
} else {
|
} else {
|
||||||
$this->staticRoutes[] = $route;
|
$this->staticRoutes[] = $route;
|
||||||
}
|
}
|
||||||
|
|
||||||
$this->routes[] = $route;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
|
Loading…
Reference in New Issue