Skip to content

Commit

Permalink
Fix hoek's documentation link
Browse files Browse the repository at this point in the history
  • Loading branch information
Marsup committed Jul 18, 2016
1 parent 98eaa75 commit 3978976
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion API.md
Original file line number Diff line number Diff line change
Expand Up @@ -237,7 +237,7 @@ Creates a reference to another property in the object being validated.
- `options` - an optional object containing options for the syntax of the key :
- `contextPrefix` - changes the context prefix. Defaults to `$`.
- `separator` - changes the separator for the path. Defaults to `.`.
- Other options can also be passed based on what [`Hoek.reach`](https://github.com/hapijs/hoek#reachobj-chain-options) supports.
- Other options can also be passed based on what [`Hoek.reach`](https://github.com/hapijs/hoek/blob/master/API.md#reachobj-chain-options) supports.

```js
const ref = Joi.ref('#a/b/c', { contextPrefix: '#', separator: '/' });
Expand Down

0 comments on commit 3978976

Please sign in to comment.