Skip to content

Commit

Permalink
documentation tweaks
Browse files Browse the repository at this point in the history
  • Loading branch information
kraih committed May 11, 2013
1 parent 08cb8f4 commit 53a999e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions lib/Mojolicious/Routes/Match.pm
Expand Up @@ -148,6 +148,7 @@ Mojolicious::Routes::Match - Routes visitor
my $c = Mojolicious::Controller->new;
my $m = Mojolicious::Routes::Match->new(PUT => '/bar');
$m->match($r, $c);
say $m->stack->[0]{controller};
say $m->stack->[0]{action};
=head1 DESCRIPTION
Expand Down
2 changes: 1 addition & 1 deletion lib/Mojolicious/Routes/Pattern.pm
Expand Up @@ -341,7 +341,7 @@ Character indicating a relaxed placeholder, defaults to C<#>.
=head2 tree
my $tree = $pattern->tree;
$pattern = $pattern->tree([ ... ]);
$pattern = $pattern->tree([['slash'], ['text', 'foo']]);
Pattern in parsed form.
Expand Down

0 comments on commit 53a999e

Please sign in to comment.