diff --git a/library/Zepto/Router.php b/library/Zepto/Router.php index b35f6b8..0cd330e 100644 --- a/library/Zepto/Router.php +++ b/library/Zepto/Router.php @@ -252,7 +252,7 @@ protected function route(Route $route, $http_method = 'GET') } // Add the route to the routing array - $this->routes[$http_method][$route->get_url()] = $route; + $this->routes[$http_method][$route->get_pattern()] = $route; return true; }