From 9e1ceadd0b7a7c51c5558efd746cde9b6d781ed0 Mon Sep 17 00:00:00 2001 From: woutervandamme Date: Mon, 27 Apr 2015 11:44:18 +0200 Subject: [PATCH] fixed nodeTranslation bug --- .../NodeBundle/EventListener/RenderContextListener.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Kunstmaan/NodeBundle/EventListener/RenderContextListener.php b/src/Kunstmaan/NodeBundle/EventListener/RenderContextListener.php index 7edac3c18c..cd61286e92 100644 --- a/src/Kunstmaan/NodeBundle/EventListener/RenderContextListener.php +++ b/src/Kunstmaan/NodeBundle/EventListener/RenderContextListener.php @@ -35,7 +35,7 @@ public function onKernelView(GetResponseForControllerResultEvent $event) $parameters = $request->attributes->get('_renderContext'); $renderContext = array( - '_nodeTranslation' => $nodeTranslation, + 'nodetranslation' => $nodeTranslation, 'slug' => $url, 'page' => $entity, 'resource' => $entity,