Skip to content

Commit

Permalink
improve docs
Browse files Browse the repository at this point in the history
  • Loading branch information
jrockway committed Jan 9, 2011
1 parent 9d7c380 commit 3e98cbe
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion lib/Plack/Middleware/AlternateRoot.pm
Expand Up @@ -31,7 +31,12 @@ __END__
=head1 SYNOPSIS
middleware 'AlternateRoot', root => '/foo';
builder {
enable 'Plack::Middleware::AlternateRoot', root => '/foo', strict => 1;
mount '/bar' => $app;
}
GET "http://myapp.com/foo/bar" --> response from $app
=head1 DESCRIPTION
Expand Down

0 comments on commit 3e98cbe

Please sign in to comment.