Skip to content

Commit

Permalink
doc(basics): add missing single-quote
Browse files Browse the repository at this point in the history
  • Loading branch information
jdanyow committed Oct 3, 2016
1 parent b664812 commit 3ee0d97
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion doc/article/en-US/validation-basics.md
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,7 @@ Another way to override messages on a case-by-case basis is to use the `.withMes
validationMessages['invalidAirportCode'] = `\${$displayName} is not a valid airport code.`;

ValidationRules
.ensure('airportCode)
.ensure('airportCode')
.matches(/^[A-Z]{3}$/).withMessageKey('invalidAirportCode')...
</source-code>
</code-listing>
Expand Down

0 comments on commit 3ee0d97

Please sign in to comment.