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:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user