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

@@ -16,7 +16,6 @@ $app->get('{repo}/tree/{branch}/{tree}/', $treeController = function($repo, $bra
}
return $app['twig']->render('tree.twig', array(
'page' => 'files',
'files' => $files->output(),
'repo' => $repo,
'branch' => $branch,