Skip to content

Commit

Permalink
added more details to rewriting recipe
Browse files Browse the repository at this point in the history
  • Loading branch information
kraih committed Jun 8, 2013
1 parent 268dd3e commit 693f9a5
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions lib/Mojolicious/Guides/Cookbook.pod
Expand Up @@ -262,8 +262,10 @@ incoming requests is also quite common.
shift @{$self->req->url->path->leading_slash(0)};
}) if app->mode eq 'production';

L<Mojo::URL> objects are very easy to manipulate, just make sure that the URL
is always relative to the base URL.
L<Mojo::URL> objects are very easy to manipulate, just make sure that the URL,
which represents the routing destination (C<foo/bar?baz=yada>), is always
relative to the base URL, which represents the deployment location of your
application (C<http://example.com/myapp/>).

=head2 Application embedding

Expand Down

0 comments on commit 693f9a5

Please sign in to comment.