Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
documentation tweaks
  • Loading branch information
kraih committed Jan 30, 2013
1 parent 3bf09b7 commit ba7442f
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 4 deletions.
3 changes: 3 additions & 0 deletions Changes
@@ -1,4 +1,7 @@

3.85 2013-01-31
- Improved documentation.

3.84 2013-01-30
- Deprecated after_static_dispatch hook in favor of before_routes.
- Added after_static hook.
Expand Down
9 changes: 5 additions & 4 deletions lib/Mojolicious.pm
Expand Up @@ -40,7 +40,7 @@ has static => sub { Mojolicious::Static->new };
has types => sub { Mojolicious::Types->new };

our $CODENAME = 'Rainbow';
our $VERSION = '3.84';
our $VERSION = '3.85';

sub AUTOLOAD {
my $self = shift;
Expand Down Expand Up @@ -486,7 +486,8 @@ Very useful for rewriting incoming requests and other preprocessing tasks.
=item after_static
Emitted after the static file server decided to serve a static file.
Emitted after a static file response has been generated by the static file
server.
$app->hook(after_static => sub {
my $c = shift;
Expand All @@ -498,8 +499,8 @@ controller object)
=item before_routes
Emitted after the static file server decided if a static file should be served
and before the router starts its work.
Emitted after the static file server determined if a static file should be
served and before the router starts its work.
$app->hook(before_routes => sub {
my $c = shift;
Expand Down

0 comments on commit ba7442f

Please sign in to comment.