Skip to content

Commit

Permalink
docs: link to new docs (#1627)
Browse files Browse the repository at this point in the history
  • Loading branch information
makepanic authored and samselikoff committed May 23, 2019
1 parent 1b7dd99 commit b69fa19
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

A client-side server to develop, test and prototype your Ember CLI app.

[View the docs here.](http://www.ember-cli-mirage.com/)
[View the docs here.](https://www.ember-cli-mirage.com/)

----

Expand Down
2 changes: 1 addition & 1 deletion addon/orm/schema.js
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ export default class Schema {
!_includes(fksAddedFromThisModel[fkHolder], fk),
`Your '${type}' model definition has multiple possible inverse relationships of type '${fkHolder}'.
Please read the associations guide and specify explicit inverses: http://www.ember-cli-mirage.com/docs/v0.3.x/models/#associations`
Please read the associations guide and specify explicit inverses: https://www.ember-cli-mirage.com/docs/api/modules/ember-cli-mirage/orm/associations/association~Association`
);
fksAddedFromThisModel[fkHolder].push(fk);

Expand Down
4 changes: 2 additions & 2 deletions addon/route-handlers/base.js
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ export default class BaseRouteHandler {

assert(
json.data && (json.data.attributes || json.data.type || json.data.relationships),
`You're using a shorthand or #normalizedRequestAttrs, but your serializer's normalize function did not return a valid JSON:API document. http://www.ember-cli-mirage.com/docs/v0.3.x/serializers/#normalizejson`
`You're using a shorthand or #normalizedRequestAttrs, but your serializer's normalize function did not return a valid JSON:API document. https://www.ember-cli-mirage.com/docs/api/modules/ember-cli-mirage/serializer~Serializer#normalize`
);

if (json.data.attributes) {
Expand All @@ -70,7 +70,7 @@ export default class BaseRouteHandler {

assert(
association,
`You're passing the relationship '${relationshipName}' to the '${modelName}' model via a ${request.method} to '${request.url}', but you did not define the '${relationshipName}' association on the '${modelName}' model. http://www.ember-cli-mirage.com/docs/v0.4.x/models/#associations`
`You're passing the relationship '${relationshipName}' to the '${modelName}' model via a ${request.method} to '${request.url}', but you did not define the '${relationshipName}' association on the '${modelName}' model. https://www.ember-cli-mirage.com/docs/api/modules/ember-cli-mirage/orm/associations/association~Association`
);

if (association.isPolymorphic) {
Expand Down
2 changes: 1 addition & 1 deletion blueprints/ember-cli-mirage/files/__root__/config.js
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,6 @@ export default function() {
this.put('/posts/:id'); // or this.patch
this.del('/posts/:id');
http://www.ember-cli-mirage.com/docs/v0.4.x/shorthands/
https://www.ember-cli-mirage.com/docs/route-handlers/shorthands
*/
}

0 comments on commit b69fa19

Please sign in to comment.