Skip to content

Commit

Permalink
mention $self in rendering guide
Browse files Browse the repository at this point in the history
  • Loading branch information
kraih committed Jun 24, 2014
1 parent a3e1cb1 commit 1b4281e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/Mojolicious/Guides/Rendering.pod
Expand Up @@ -139,7 +139,7 @@ indent your code without ruining the result.

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 C<$c>.
controller object as both C<$self> and C<$c>.

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

Expand Down

0 comments on commit 1b4281e

Please sign in to comment.