Skip to content

Commit

Permalink
fix formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
kraih committed Sep 21, 2016
1 parent 6cd1a67 commit f6a27f6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/Mojolicious/Routes/Route.pm
Expand Up @@ -331,8 +331,8 @@ be used to specify route conditions.
# Route with pattern, condition and destination
$r->any('/' => (agent => qr/Firefox/))->to('foo#bar');
A hash reference is used to specify optional placeholders and default values
for the stash.
A hash reference is used to specify optional placeholders and default values for
the stash.
# Route with pattern, optional placeholder and destination
$r->any('/:foo' => {foo => 'bar'})->to('foo#bar');
Expand Down

0 comments on commit f6a27f6

Please sign in to comment.