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