Fix the Twig bootstrap, get the first test running successfully.

This commit is contained in:
Dave Smith-Hayes 2024-05-22 20:41:44 -04:00
parent 050eb87e83
commit 8321503a0b

View File

@ -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));
} }
/** /**