Skip to content

Commit

Permalink
explain how to disable automatic rendering
Browse files Browse the repository at this point in the history
  • Loading branch information
kraih committed Jun 8, 2013
1 parent 28aa59d commit 4feb86e
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions lib/Mojolicious/Guides/Rendering.pod
Expand Up @@ -167,6 +167,12 @@ There is one big difference though, by calling it manually you can make sure
that templates use the current controller object, and not the default
controller specified with the attribute L<Mojolicious/"controller_class">.

$self->render_later;

You can also disable automatic rendering with the method
L<Mojolicious::Controller/"render_later">, which can be very useful to delay
rendering when for example a non-blocking operation has to finish first.

=head2 Rendering templates

The renderer will always try to detect the right template but you can also
Expand Down

0 comments on commit 4feb86e

Please sign in to comment.