1
0
mirror of https://github.com/moparisthebest/wallabag synced 2024-12-18 05:32:23 -05:00
This commit is contained in:
Vincent Jousse 2013-11-21 12:05:18 +01:00
parent 3851249096
commit b8f7398632
4 changed files with 12 additions and 1 deletions

View File

@ -1,7 +1,9 @@
{
"require": {
"silex/silex": "~1.1",
"atoum/atoum" : "dev-master"
"atoum/atoum" : "dev-master",
"twig/twig": ">=1.8,<2.0-dev",
"symfony/twig-bridge": "~2.3"
},
"autoload": {
"psr-0": { "Poche": "src/" }

View File

@ -1 +1,5 @@
<?php
$app->register(new Silex\Provider\TwigServiceProvider(), array(
'twig.path' => __DIR__.'/views',
));

View File

@ -1 +1,5 @@
<?php
$app->get('/', function () use ($app) {
return $app['twig']->render('index.twig');
});

1
src/views/index.twig Normal file
View File

@ -0,0 +1 @@
Poche v2