mirror of
https://github.com/klaussilveira/gitlist.git
synced 2025-11-17 11:10:57 +01:00
Merge pull request #223 from marcoscoelho/path-to-pagination
fix an exception of twig when try get ajax pagination
This commit is contained in:
@@ -30,6 +30,7 @@ class CommitController implements ControllerProviderInterface
|
|||||||
$template = $app['request']->isXmlHttpRequest() ? 'commits_list.twig' : 'commits.twig';
|
$template = $app['request']->isXmlHttpRequest() ? 'commits_list.twig' : 'commits.twig';
|
||||||
|
|
||||||
return $app['twig']->render($template, array(
|
return $app['twig']->render($template, array(
|
||||||
|
'page' => 'commits',
|
||||||
'pager' => $pager,
|
'pager' => $pager,
|
||||||
'repo' => $repo,
|
'repo' => $repo,
|
||||||
'branch' => $branch,
|
'branch' => $branch,
|
||||||
|
|||||||
Reference in New Issue
Block a user