There was an error while loading. Please reload this page.
1 parent e988c84 commit eaf3c41Copy full SHA for eaf3c41
Resources/doc/index.md
@@ -66,3 +66,8 @@ just insert the {{ GAexperimentScript }} variable in the template. It
66
will be automatically replaced by the javascript with the Template
67
experiment code.
68
69
+You can load a Template from a controller using TemplateManager :
70
+$this->get('jm_ab.template_manager')->renderTemplate('name') or ;
71
+$this->get('jm_ab.template_manager')->renderTemplate('template:name',
72
+$vars);
73
+Note that 'template:' and $vars are optionals.
0 commit comments