Skip to content

Commit

Permalink
mention how to customize templates directories in rendering guide
Browse files Browse the repository at this point in the history
  • Loading branch information
kraih committed Mar 13, 2014
1 parent c10c550 commit d937a41
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions lib/Mojolicious/Guides/Rendering.pod
Expand Up @@ -31,8 +31,9 @@ or the route name, C<format> defaulting to C<html> and C<handler> to C<ep>.
{name => 'foo', format => 'txt'} -> 'foo.txt.ep'
{name => 'foo', handler => 'epl'} -> 'foo.html.epl'

All templates should be in the C<templates> directories of the application or
the C<DATA> section of the class C<main>.
All templates should be in the C<templates> directories of the application,
which can be customized with L<Mojolicious::Renderer/"paths">, or one of the
the C<DATA> sections from L<Mojolicious::Renderer/"classes">.

__DATA__

Expand Down

0 comments on commit d937a41

Please sign in to comment.