Navigation Menu

Skip to content

Commit

Permalink
updated recipe
Browse files Browse the repository at this point in the history
  • Loading branch information
kraih committed Feb 2, 2011
1 parent 0d63d12 commit 1f7bec5
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions lib/Mojolicious/Guides/Routing.pod
Expand Up @@ -739,11 +739,11 @@ snowman very sad.
=head2 Introspection

The C<routes> command can be used from the command line to list all available
routes together with underlying regular expressions.
routes together with name and underlying regular expressions.

% script/myapp routes
/foo/:name (?-xism:^/foo/([^\/\.]+))
/bar/(.test) (?-xism:^/bar/([^\/]+))
/baz/(*everything) (?-xism:^/baz/(.+))
/foo/:name fooname (?-xism:^/foo/([^\/\.]+))
/bar/(.test) bartest (?-xism:^/bar/([^\/]+))
/baz/(*everything) bazeverything (?-xism:^/baz/(.+))

=cut

0 comments on commit 1f7bec5

Please sign in to comment.