Skip to content

Commit

Permalink
better example for routes command in routing guide
Browse files Browse the repository at this point in the history
  • Loading branch information
kraih committed Feb 14, 2014
1 parent cfb4699 commit bb52134
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions lib/Mojolicious/Guides/Routing.pod
Expand Up @@ -772,8 +772,10 @@ to list all available routes together with name and underlying regular
expressions.

$ ./myapp.pl routes -v
/foo/:name .... GET fooname ^/foo/([^/\.]+))(?:\.([^/]+)$)?
/bar .... POST bar ^/bar(?:\.([^/]+)$)?
/foo/:name .... POST fooname ^/foo/([^/\.]+))(?:\.([^/]+)$)?
/bar B... * bar ^/bar
+/baz ...W GET baz ^/baz(?:\.([^/]+)$)?
/yada .... * yada ^/yada(?:\.([^/]+)$)?

=head1 ADVANCED

Expand Down

0 comments on commit bb52134

Please sign in to comment.