projects
/
web/konrad/twig.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
(parent:
448106f
)
fixed typo in the doc
author
Fabien Potencier
<fabien.potencier@gmail.com>
Fri, 29 Apr 2011 09:38:34 +0000 (11:38 +0200)
committer
Fabien Potencier
<fabien.potencier@gmail.com>
Fri, 29 Apr 2011 09:38:34 +0000 (11:38 +0200)
doc/advanced.rst
patch
|
blob
|
history
diff --git
a/doc/advanced.rst
b/doc/advanced.rst
index
7ca26fc
..
b45b5c9
100644
(file)
--- 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