Merge pull request #223 from marcoscoelho/path-to-pagination

fix an exception of twig when try get ajax pagination
This commit is contained in:
Klaus Silveira
2012-12-20 05:45:44 -08:00

View File

@@ -30,6 +30,7 @@ class CommitController implements ControllerProviderInterface
$template = $app['request']->isXmlHttpRequest() ? 'commits_list.twig' : 'commits.twig';
return $app['twig']->render($template, array(
'page' => 'commits',
'pager' => $pager,
'repo' => $repo,
'branch' => $branch,