Skip to content

Commit

Permalink
mention that content is wrapped in a Mojo::ByteStream object
Browse files Browse the repository at this point in the history
  • Loading branch information
kraih committed Jun 19, 2014
1 parent 7e6ad47 commit 7f744b6
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions lib/Mojolicious/Controller.pm
Expand Up @@ -736,9 +736,10 @@ method does not protect from traversing to parent directories.
my $output = $c->render_to_string('foo/index', format => 'pdf');
Try to render content and return it or return C<undef>, all arguments get
localized automatically and are only available during this render operation,
takes the same arguments as L</"render">.
Try to render content and return it wrapped in a L<Mojo::ByteStream> object or
return C<undef>, all arguments get localized automatically and are only
available during this render operation, takes the same arguments as
L</"render">.
=head2 rendered
Expand Down

0 comments on commit 7f744b6

Please sign in to comment.