Update Router.php

pull/141/head
maks feltrin 11 years ago
parent 229cbd24f5
commit bcb5b120a9

@ -61,7 +61,7 @@ class Router {
$methods = explode('|', $method); $methods = explode('|', $method);
} }
array_push($this->routes, new Route($url, $callback, $methods, $pass_route)); $this->routes[] = new Route($url, $callback, $methods, $pass_route);
} }
/** /**

Loading…
Cancel
Save