From fa289c15c29cd50efd25c3ce01bb3142f14c4bad Mon Sep 17 00:00:00 2001 From: Marcos Coelho Date: Wed, 19 Dec 2012 22:59:12 -0200 Subject: [PATCH] fix an exception of twig when try get ajax pagination --- src/GitList/Controller/CommitController.php | 1 + 1 file changed, 1 insertion(+) diff --git a/src/GitList/Controller/CommitController.php b/src/GitList/Controller/CommitController.php index 776f669..8d67687 100644 --- a/src/GitList/Controller/CommitController.php +++ b/src/GitList/Controller/CommitController.php @@ -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,