Skip to content

Commit

Permalink
[DOC beta] Fix broken links
Browse files Browse the repository at this point in the history
  • Loading branch information
ppcano committed Nov 9, 2018
1 parent f5572bb commit a2196ae
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion addon/-private/system/relationships/belongs-to.js
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ import { DEBUG } from '@glimmer/env';
- `async`: A boolean value used to explicitly declare this to be an async relationship.
- `inverse`: A string used to identify the inverse property on a
related model in a One-To-Many relationship. See [Explicit Inverses](#toc_explicit-inverses)
related model in a One-To-Many relationship. See [Explicit Inverses](#explicit-inverses)
#### One-To-One
To declare a one-to-one relationship between two models, use
Expand Down
2 changes: 1 addition & 1 deletion addon/serializers/embedded-records-mixin.js
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ import { warn } from '@ember/debug';
To successfully extract and serialize embedded records the model relationships
must be set up correctly. See the
[defining relationships](/guides/models/defining-models/#toc_defining-relationships)
[defining relationships](https://guides.emberjs.com/current/models/relationships)
section of the **Defining Models** guide page.
Records without an `id` property are not considered embedded records, model
Expand Down
2 changes: 1 addition & 1 deletion addon/serializers/json-api.js
Original file line number Diff line number Diff line change
Expand Up @@ -564,7 +564,7 @@ if (DEBUG) {
willMergeMixin(props) {
let constructor = this.constructor;
warn(
`You've defined 'extractMeta' in ${constructor.toString()} which is not used for serializers extending JSONAPISerializer. Read more at https://emberjs.com/api/data/classes/DS.JSONAPISerializer.html#toc_customizing-meta on how to customize meta when using JSON API.`,
`You've defined 'extractMeta' in ${constructor.toString()} which is not used for serializers extending JSONAPISerializer. Read more at https://emberjs.com/api/data/classes/DS.JSONAPISerializer on how to customize meta when using JSON API.`,
isNone(props.extractMeta) || props.extractMeta === JSONSerializer.prototype.extractMeta,
{
id: 'ds.serializer.json-api.extractMeta',
Expand Down

0 comments on commit a2196ae

Please sign in to comment.