mirror of
https://github.com/klaussilveira/gitlist.git
synced 2025-11-18 03:30:55 +01:00
moved the page variable to the templates (belongs to the view)
This commit is contained in:
@@ -6,7 +6,6 @@ $app->get('{repo}/stats/{branch}', function($repo, $branch) use($app) {
|
||||
$authors = $repository->getAuthorStatistics();
|
||||
|
||||
return $app['twig']->render('stats.twig', array(
|
||||
'page' => 'stats',
|
||||
'repo' => $repo,
|
||||
'branch' => $branch,
|
||||
'branches' => $repository->getBranches(),
|
||||
|
||||
Reference in New Issue
Block a user