From 9b5acb9da260eb1a4c6130a683972768e91ee928 Mon Sep 17 00:00:00 2001 From: Laurent Laville Date: Tue, 27 Mar 2018 23:20:44 +0200 Subject: [PATCH] Fix issue 73 - overriding templates --- Handler/AlertifySessionHandler.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Handler/AlertifySessionHandler.php b/Handler/AlertifySessionHandler.php index 1a87e4d..b10c597 100644 --- a/Handler/AlertifySessionHandler.php +++ b/Handler/AlertifySessionHandler.php @@ -55,7 +55,7 @@ public function handle($session, \Twig_Environment $twig) } $parameters['type'] = $type; - $renders[$type.$key] = $twig->render('TroopersAlertifyBundle::'.$parameters['engine'].'.html.twig', $parameters); + $renders[$type.$key] = $twig->render('@TroopersAlertify/'.$parameters['engine'].'.html.twig', $parameters); } }