不要怂,就是干,撸起袖子干!

Commit 26caf72f by Travis Vander Hoop

Use possessive form of its

1 parent 87fcaec6
Showing with 1 additions and 1 deletions
...@@ -240,7 +240,7 @@ User.belongsToMany(Project, { through: UserProjects }) ...@@ -240,7 +240,7 @@ User.belongsToMany(Project, { through: UserProjects })
Project.belongsToMany(User, { through: UserProjects }) Project.belongsToMany(User, { through: UserProjects })
``` ```
To add a new project to a user and set it's status, you pass an extra object to the setter, which contains the attributes for the join table To add a new project to a user and set its status, you pass an extra object to the setter, which contains the attributes for the join table
```js ```js
user.addProject(project, { status: 'started' }) user.addProject(project, { status: 'started' })
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!