diff --git a/src/Controller.php b/src/Controller.php index 64c44e2..7f7cbb9 100644 --- a/src/Controller.php +++ b/src/Controller.php @@ -58,9 +58,8 @@ public function getQueue() public function actionQueue($callable, $args) { return function (Request $request, Response $response) use ($callable, $args){ - return call_user_func($callable, $args, $this); - return $response; + return call_user_func($callable, $args, $this); }; } }