Skip to content

Commit

Permalink
fixed typo in example
Browse files Browse the repository at this point in the history
  • Loading branch information
kraih committed Sep 28, 2013
1 parent dfad27f commit c980c66
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/Mojolicious/Validator/Validation.pm
Expand Up @@ -166,8 +166,8 @@ Perform validation check.
Set custom error message for next validation C<check> or C<topic> change.
$validation->optional('foo')
->error('Name needs to be between 3 and 50 characters.')->size(3, 50);
$validation->optional('name')
->error('Name needs to be between 3 and 9 characters long.')->size(3, 9);
=head2 errors
Expand Down

0 comments on commit c980c66

Please sign in to comment.