From bcb5b120a9b8f42f02bf9ada7e956b208fe3d405 Mon Sep 17 00:00:00 2001 From: maks feltrin Date: Wed, 20 Aug 2014 14:00:59 +0200 Subject: [PATCH] Update Router.php --- flight/net/Router.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/flight/net/Router.php b/flight/net/Router.php index 64313fc..dba9513 100644 --- a/flight/net/Router.php +++ b/flight/net/Router.php @@ -61,7 +61,7 @@ class Router { $methods = explode('|', $method); } - array_push($this->routes, new Route($url, $callback, $methods, $pass_route)); + $this->routes[] = new Route($url, $callback, $methods, $pass_route); } /**