Skip to content

Commit

Permalink
updated some old documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
kraih committed Dec 18, 2013
1 parent ded3e65 commit 20435a3
Show file tree
Hide file tree
Showing 5 changed files with 10 additions and 6 deletions.
2 changes: 2 additions & 0 deletions Changes
@@ -1,4 +1,6 @@

4.63 2013-12-18

4.62 2013-12-17
- Deprecated Mojo::URL::to_rel.

Expand Down
5 changes: 3 additions & 2 deletions lib/Mojo/Transaction/HTTP.pm
Expand Up @@ -262,9 +262,10 @@ and implements the following new ones.
=head2 previous
my $previous = $tx->previous;
$tx = $tx->previous(Mojo::Transaction->new);
$tx = $tx->previous(Mojo::Transaction::HTTP->new);
Previous transaction that triggered this followup transaction.
Previous transaction that triggered this followup transaction, usually a
L<Mojo::Transaction::HTTP> object.
# Paths of previous requests
say $tx->previous->previous->req->url->path;
Expand Down
2 changes: 1 addition & 1 deletion lib/Mojo/URL.pm
Expand Up @@ -260,7 +260,7 @@ L<Mojo::URL> implements the following attributes.
my $base = $url->base;
$url = $url->base(Mojo::URL->new);
Base of this URL.
Base of this URL, defaults to a L<Mojo::URL> object.
=head2 fragment
Expand Down
5 changes: 3 additions & 2 deletions lib/Mojolicious.pm
Expand Up @@ -43,7 +43,7 @@ has types => sub { Mojolicious::Types->new };
has validator => sub { Mojolicious::Validator->new };

our $CODENAME = 'Top Hat';
our $VERSION = '4.62';
our $VERSION = '4.63';

sub AUTOLOAD {
my $self = shift;
Expand Down Expand Up @@ -541,7 +541,8 @@ L<Mojolicious::Controller> object.
$app->handler(Mojo::Transaction::HTTP->new);
$app->handler(Mojolicious::Controller->new);
Sets up the default controller and calls process for every request.
Sets up the default controller and emits the L</"around_dispatch"> hook for
every request.
=head2 helper
Expand Down
2 changes: 1 addition & 1 deletion lib/Mojolicious/Routes/Route.pm
Expand Up @@ -289,7 +289,7 @@ Allow L</"bridge"> semantics for this route.
my $parent = $r->parent;
$r = $r->parent(Mojolicious::Routes::Route->new);
The parent of this route, used for nesting routes.
The parent of this route, usually a L<Mojolicious::Routes::Route> object.
=head2 partial
Expand Down

0 comments on commit 20435a3

Please sign in to comment.