Skip to content
This repository has been archived by the owner on Nov 2, 2018. It is now read-only.

Commit

Permalink
Zepto\Zepto now sends an instance of ``Symfony\Component\HttpFoun…
Browse files Browse the repository at this point in the history
…dation\Response`` to ``Zepto\Router``
  • Loading branch information
hassankhan committed Jan 29, 2014
1 parent 266730e commit b5a5e3c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions library/Zepto/Zepto.php
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ function() {

$container['router'] = $container->share(
function($c) {
return new Router($c['request']);
return new Router($c['request'], $c['response']);
}
);

Expand Down Expand Up @@ -300,7 +300,7 @@ protected function setup_router()
}

// Render template with Twig
echo $twig->render($template_name, $options);
return $twig->render($template_name, $options);
});
}
}
Expand Down

0 comments on commit b5a5e3c

Please sign in to comment.