From: Eugene Wolfson Date: Tue, 18 Oct 2011 22:47:02 +0000 (-0300) Subject: add another example X-Git-Url: http://git.silmor.de/gitweb/?a=commitdiff_plain;h=cf03a65e8b13d8b4c492e92bb1c13df350920b3c;p=web%2Fkonrad%2Ftwig.git add another example add another example to constant.rst --- diff --git a/doc/functions/constant.rst b/doc/functions/constant.rst index 68ab2cf..5b247b3 100644 --- a/doc/functions/constant.rst +++ b/doc/functions/constant.rst @@ -6,3 +6,4 @@ .. code-block:: jinja {{ some_date|date(constant('DATE_W3C')) }} + {{ constant('Namespace\\Classname::CONSTANT_NAME') }}