Skip to content

Commit

Permalink
make it more clear that stash values do not work
Browse files Browse the repository at this point in the history
  • Loading branch information
kraih committed Feb 4, 2014
1 parent 68f0bc9 commit f9d2e61
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/Mojolicious/Guides/Rendering.pod
Expand Up @@ -518,7 +518,7 @@ L<Mojolicious/"defaults">.
1;

Layouts can also be used with C<partial> templates, but the C<layout> value
needs to be passed as a render argument.
needs to be passed as a render argument (not a stash value).

my $html = $self->render('reminder', layout => 'mail', partial => 1);

Expand Down

0 comments on commit f9d2e61

Please sign in to comment.