Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
fix typo in routing guide
  • Loading branch information
kraih committed Jun 3, 2016
1 parent d3e6903 commit 3987e6d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Changes
@@ -1,5 +1,5 @@

6.63 2016-06-02
6.63 2016-06-03
- Removed deprecated check method from Mojo::Server::Morbo.
- Removed deprecated build, compile and interpret methods from Mojo::Template.
- Removed deprecated multi_accept methods from Mojo::IOLoop,
Expand Down
2 changes: 1 addition & 1 deletion lib/Mojolicious/Guides/Routing.pod
Expand Up @@ -891,7 +891,7 @@ true value for the route to match.
my ($route, $c, $captures, $num) = @_;

# Loser
return undef unless int rand $num;
return undef if int rand $num;

# Winner
return 1;
Expand Down

0 comments on commit 3987e6d

Please sign in to comment.