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,