mirror of
https://github.com/klaussilveira/gitlist.git
synced 2026-05-06 08:27:14 +02:00
Initial commit
This commit is contained in:
10
controllers/indexController.php
Normal file
10
controllers/indexController.php
Normal file
@@ -0,0 +1,10 @@
|
||||
<?php
|
||||
|
||||
$app->get('/', function() use($app) {
|
||||
$repositories = $app['git']->getRepositories($app['git.repos']);
|
||||
|
||||
return $app['twig']->render('index.twig', array(
|
||||
'baseurl' => $app['baseurl'],
|
||||
'repositories' => $repositories,
|
||||
));
|
||||
});
|
||||
Reference in New Issue
Block a user