Browse Source

Agregue object en los parametros por defecto de la plantilla

Luciano Andrade 8 years ago
parent
commit
3f9a6b9925
1 changed files with 1 additions and 0 deletions
  1. 1 0
      Entity/Action.php

+ 1 - 0
Entity/Action.php

@@ -361,6 +361,7 @@ class Action
         
         
         return $twig->render($this->name, array(
         return $twig->render($this->name, array(
             'entity' => $entity,
             'entity' => $entity,
+            'object' => $entity,
             'params' => $this->twigParams,
             'params' => $this->twigParams,
         ));
         ));
     }
     }