From ff55b3d8b158c6620c73f5271e0146c588be0187 Mon Sep 17 00:00:00 2001 From: sabelo Date: Sun, 28 Jul 2024 20:17:01 -0300 Subject: [PATCH] fix in slim-twig-flash --- src/dependencies.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/dependencies.php b/src/dependencies.php index 4ccbc6e..491111c 100644 --- a/src/dependencies.php +++ b/src/dependencies.php @@ -16,7 +16,7 @@ $container['renderer'] = function ($c) { ]); $view->addExtension(new Knlv\Slim\Views\TwigMessages( - $c->get('flash') + new Slim\Flash\Messages() )); return $view; };