Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
mention that variables get initialized at the beginning of the template
  • Loading branch information
kraih committed Oct 24, 2014
1 parent db69bad commit ef0b424
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions lib/Mojolicious/Guides/Rendering.pod
Expand Up @@ -144,9 +144,9 @@ backslash.
in multiple\\
lines

Stash values that don't have invalid characters in their name get
automatically initialized as normal variables in the template, and the
controller object as both C<$self> and C<$c>.
At the beginning of the template, stash values that don't have invalid
characters in their name get automatically initialized as normal variables,
and the controller object as both C<$self> and C<$c>.

$c->stash(name => 'tester');

Expand Down

0 comments on commit ef0b424

Please sign in to comment.