Skip to content

Commit

Permalink
Added a transition to better explain that templates must be defined w…
Browse files Browse the repository at this point in the history
…ith symbols.

Signed-off-by: Konstantin Haase <konstantin.mailinglists@googlemail.com>
  • Loading branch information
michelc authored and rkh committed Oct 12, 2010
1 parent f2a328a commit caae141
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions README.rdoc
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit caae141

Please sign in to comment.