Skip to content

Commit

Permalink
fixed typo in the doc
Browse files Browse the repository at this point in the history
  • Loading branch information
fabpot committed Apr 29, 2011
1 parent 448106f commit 432b173
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion doc/advanced.rst
Expand Up @@ -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
Expand Down

0 comments on commit 432b173

Please sign in to comment.