moved the page variable to the templates (belongs to the view)

This commit is contained in:
Fabien Potencier
2012-07-06 23:02:33 +02:00
parent cddca4683a
commit de1cf7320f
10 changed files with 12 additions and 7 deletions

View File

@@ -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(),