Skip to content

Commit

Permalink
documentation tweaks
Browse files Browse the repository at this point in the history
  • Loading branch information
kraih committed Mar 1, 2013
1 parent 1db1d85 commit 4daf3ae
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Changes
@@ -1,5 +1,5 @@

3.88 2013-02-29
3.88 2013-03-01
- Improved documentation.
- Improved tests.
- Fixed small domain detection bug in Mojo::UserAgent::CookieJar.
Expand Down
3 changes: 2 additions & 1 deletion lib/Mojolicious/Controller.pm
Expand Up @@ -777,7 +777,8 @@ Get L<Mojo::Message::Request> object from L<Mojo::Transaction/"req">.
my $req = $c->tx->req;
# Extract request information
my $userinfo = $c->req->url->userinfo;
my $url = $c->req->url->to_abs;
my $userinfo = $c->req->url->to_abs->userinfo;
my $agent = $c->req->headers->user_agent;
my $body = $c->req->body;
my $foo = $c->req->json('/23/foo');
Expand Down

0 comments on commit 4daf3ae

Please sign in to comment.