Added a transition to better explain that templates must be defined with symbols.

Signed-off-by: Konstantin Haase <konstantin.mailinglists@googlemail.com>
This commit is contained in:
Michel 2010-09-23 04:46:03 -07:00 committed by Konstantin Haase
parent fd5df5a6db
commit 125573777d
1 changed files with 3 additions and 2 deletions

View File

@ -164,8 +164,9 @@ directory. To use a different views directory:
One important thing to remember is that you always have to reference One important thing to remember is that you always have to reference
templates with symbols, even if they're in a subdirectory (in this templates with symbols, even if they're in a subdirectory (in this
case use <tt>:'subdir/template'</tt>). Rendering methods will render case use <tt>:'subdir/template'</tt>). You must use a symbol because
any strings passed to them directly. otherwise rendering methods will render any strings passed to them
directly.
=== Haml Templates === Haml Templates