Skip to content

Commit

Permalink
compare render calls too
Browse files Browse the repository at this point in the history
  • Loading branch information
kraih committed Oct 12, 2015
1 parent 23c5ca6 commit 9b4d8ce
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions lib/Mojolicious/Guides/Rendering.pod
Expand Up @@ -1457,6 +1457,12 @@ The hook L<Mojolicious/"before_render"> can be used to make stash values like
C<storable> special, so that they no longer require a C<handler> value to be set
explicitly.

# Explicit "handler" value
$c->render(storable => {i => '♥ mojolicious'}, handler => 'storable');

# Implicit "handler" value (with "before_render" hook)
$c->render(storable => {i => '♥ mojolicious'});

=head1 MORE

You can continue with L<Mojolicious::Guides> now or take a look at the
Expand Down

0 comments on commit 9b4d8ce

Please sign in to comment.