projects
/
web/konrad/twig.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
(parent:
d109661
)
add another example
author
Eugene Wolfson
<evulfson@gmail.com>
Tue, 18 Oct 2011 22:47:02 +0000 (19:47 -0300)
committer
yegeniy
<evulfson@gmail.com>
Sat, 22 Oct 2011 13:27:23 +0000 (09:27 -0400)
add another example to constant.rst
doc/functions/constant.rst
patch
|
blob
|
history
diff --git
a/doc/functions/constant.rst
b/doc/functions/constant.rst
index
68ab2cf
..
5b247b3
100644
(file)
--- 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') }}