Skip to content

Commit

Permalink
better description for after_dispatch hook
Browse files Browse the repository at this point in the history
  • Loading branch information
kraih committed May 14, 2012
1 parent 4d52d28 commit 841154c
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion Changes
@@ -1,6 +1,6 @@
This file documents the revision history for Perl extension Mojolicious.

2.96 2012-05-13
2.96 2012-05-14
- Added merge method to Mojo::Path.
- Improved documentation.
- Improved tests.
Expand Down
6 changes: 3 additions & 3 deletions lib/Mojolicious.pm
Expand Up @@ -500,7 +500,7 @@ file should be served and before the router starts its work.
...
});
Mostly used for custom dispatchers and postprocessing static file responses.
Mostly used for custom dispatchers and post-processing static file responses.
(Passed the default controller object)
=item B<after_dispatch>
Expand All @@ -513,8 +513,8 @@ hook can trigger before C<after_static_dispatch> due to its dynamic nature.
...
});
Useful for all kinds of postprocessing tasks. (Passed the current controller
object)
Useful for rewriting outgoing responses and other post-processing tasks.
(Passed the current controller object)
=item B<around_dispatch>
Expand Down

0 comments on commit 841154c

Please sign in to comment.