Logomotion: mise à jour introduction framework javascript

This commit is contained in:
2018-01-09 22:52:41 +01:00
committed by Benjamin Bohard
parent 7add972706
commit 3d2afb8b17
14 changed files with 429 additions and 18 deletions

View File

@ -22,7 +22,6 @@ class AppKernel extends Kernel
{
return array(
new Symfony\Bundle\FrameworkBundle\FrameworkBundle(),
new Symfony\Bundle\TwigBundle\TwigBundle(),
);
}
@ -32,15 +31,15 @@ class AppKernel extends Kernel
// PHP equivalent of config.yml
$c->loadFromExtension('framework', array(
'secret' => 'S0ME_SECRET',
'templating' => [
'engine' => [
'twig'
],
],
// 'templating' => [
// 'engine' => [
// 'twig'
// ],
// ],
));
$c->loadFromExtension('twig', [
'default_path' => __DIR__.'/../templates',
]);
// $c->loadFromExtension('twig', [
// 'default_path' => __DIR__.'/../templates',
// ]);
}
// Configuration des routes