|
@@ -38,8 +38,7 @@ class ActionEventSubscriber implements EventSubscriber
|
|
|
{
|
|
|
$entity = $args->getEntity();
|
|
|
if ($entity instanceof Action) {
|
|
|
- $twigParams = $this->twigParams;
|
|
|
- $entity->setTwigParams($twigParams);
|
|
|
+ $entity->setTwigParams($this->twigParams);
|
|
|
}
|
|
|
}
|
|
|
|