mirror of
https://github.com/klaussilveira/gitlist.git
synced 2026-05-07 18:17:04 +02:00
moved the page variable to the templates (belongs to the view)
This commit is contained in:
@@ -7,7 +7,6 @@ $app->get('{repo}/blob/{branch}/{file}/', function($repo, $branch, $file) use($a
|
||||
$fileType = $app['utils']->getFileType($file);
|
||||
|
||||
return $app['twig']->render('file.twig', array(
|
||||
'page' => 'files',
|
||||
'file' => $file,
|
||||
'fileType' => $fileType,
|
||||
'blob' => $blob->output(),
|
||||
|
||||
Reference in New Issue
Block a user