diff --git a/library/Zepto/Router.php b/library/Zepto/Router.php index 0cd330e..a7e3ad1 100644 --- a/library/Zepto/Router.php +++ b/library/Zepto/Router.php @@ -134,7 +134,7 @@ public function get($route, \Closure $callback) */ public function post($route, \Closure $callback) { - return $this->route($route, $callback, 'POST'); + $this->route(new Route($route, $callback), 'POST'); } /**