From 432b1732e44684af633227da7ad535e207f0b358 Mon Sep 17 00:00:00 2001 From: Fabien Potencier Date: Fri, 29 Apr 2011 11:38:34 +0200 Subject: [PATCH] fixed typo in the doc --- doc/advanced.rst | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/doc/advanced.rst b/doc/advanced.rst index 7ca26fc..b45b5c9 100644 --- a/doc/advanced.rst +++ b/doc/advanced.rst @@ -103,7 +103,7 @@ available in all templates and macros:: $twig = new Twig_Environment($loader); $twig->addGlobal('text', new Text()); -You can then use the ``user`` variable anywhere in a template: +You can then use the ``text`` variable anywhere in a template: .. code-block:: jinja -- 1.7.2.5