Fix the Twig bootstrap, get the first test running successfully.
This commit is contained in:
parent
050eb87e83
commit
8321503a0b
@ -72,7 +72,7 @@ class Bootstrap
|
|||||||
$templatePath = __DIR__ . "/../templates";
|
$templatePath = __DIR__ . "/../templates";
|
||||||
$templateCache = false;
|
$templateCache = false;
|
||||||
$twig = Twig::create($templatePath, [ 'cache' => $templateCache ]);
|
$twig = Twig::create($templatePath, [ 'cache' => $templateCache ]);
|
||||||
$app->add(TwigMiddleware::create($app));
|
$app->add(TwigMiddleware::create($app, $twig));
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
Loading…
Reference in New Issue
Block a user