fix in slim-twig-flash

This commit is contained in:
sabelo 2024-07-28 20:17:01 -03:00
parent 1b4969358d
commit ff55b3d8b1

View File

@ -16,7 +16,7 @@ $container['renderer'] = function ($c) {
]); ]);
$view->addExtension(new Knlv\Slim\Views\TwigMessages( $view->addExtension(new Knlv\Slim\Views\TwigMessages(
$c->get('flash') new Slim\Flash\Messages()
)); ));
return $view; return $view;
}; };