From 462bea2c1838c91dfe2d563dd4bc6ffabc245cf8 Mon Sep 17 00:00:00 2001 From: Hassan Khan Date: Wed, 29 Jan 2014 03:38:59 +0000 Subject: [PATCH] Fixed ``Zepto\Router::post()`` --- library/Zepto/Router.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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'); } /**