Skip to content

Commit

Permalink
Merge pull request #817 from Duske/patch-1
Browse files Browse the repository at this point in the history
(doc) fix collection name in many-to-many example
  • Loading branch information
lauriejim committed Mar 20, 2018
2 parents e7dfc22 + 9c9225a commit b15c848
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/3.x.x/en/guides/models.md
Original file line number Diff line number Diff line change
Expand Up @@ -271,7 +271,7 @@ A `product` can be related to many `categories`, so a `category` can have many `
{
"attributes": {
"categories": {
"collection": "product",
"collection": "category",
"via": "products",
"dominant": true
}
Expand All @@ -286,7 +286,7 @@ A `product` can be related to many `categories`, so a `category` can have many `
{
"attributes": {
"products": {
"collection": "category",
"collection": "product",
"via": "categories"
}
}
Expand Down

0 comments on commit b15c848

Please sign in to comment.