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; };