Skip to content

Commit

Permalink
tweaked hook descriptions
Browse files Browse the repository at this point in the history
  • Loading branch information
kraih committed Jan 6, 2013
1 parent 7909f3a commit dfb87a1
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions lib/Mojolicious.pm
Expand Up @@ -489,8 +489,8 @@ Mostly used for custom dispatchers and post-processing static file responses.
Emitted after content has been generated by the renderer that is not partial.
Note that this hook can trigger out of order due to its dynamic nature, and
with embedded applications will only work for the application rendering the
response.
with embedded applications will only work for the application that is
rendering.
$app->hook(after_render => sub {
my ($c, $output, $format) = @_;
Expand All @@ -504,7 +504,7 @@ current controller object, a reference to the content and the format)
Emitted in reverse order after a response has been rendered. Note that this
hook can trigger out of order due to its dynamic nature, and with embedded
applications will only work for the application rendering the response.
applications will only work for the application that is rendering.
$app->hook(after_dispatch => sub {
my $c = shift;
Expand Down

0 comments on commit dfb87a1

Please sign in to comment.