Merge pull request #1032 from strongloop/update_doc

Update doc for `validatesFormatOf`
This commit is contained in:
Amir-61 2016-08-08 10:51:04 -04:00 committed by GitHub
commit 0dee7fbec7
1 changed files with 1 additions and 1 deletions

View File

@ -148,7 +148,7 @@ Validatable.validatesExclusionOf = getConfigurator('exclusion');
* Validate format. Require a model to include a property that matches the given format.
*
* Require a model to include a property that matches the given format. Example:
* `User.validatesFormat('name', {with: /\w+/});`
* `User.validatesFormatOf('name', {with: /\w+/});`
*
* @param {String} propertyName Property name to validate.
* @options {Object} Options