Skip to content

Commit

Permalink
Merge pull request #336 from coderbydesign/patch-1
Browse files Browse the repository at this point in the history
Minor fix in README.md
  • Loading branch information
shishirmk authored Nov 3, 2018
2 parents 74bb9d6 + dbda6b6 commit a105bac
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -221,7 +221,7 @@ end
```

### Links Per Object
Links are defined in FastJsonapi using the `link` method. By default, link are read directly from the model property of the same name. In this example, `public_url` is expected to be a property of the object being serialized.
Links are defined in FastJsonapi using the `link` method. By default, links are read directly from the model property of the same name. In this example, `public_url` is expected to be a property of the object being serialized.

You can configure the method to use on the object for example a link with key `self` will get set to the value returned by a method called `url` on the movie object.

Expand Down

0 comments on commit a105bac

Please sign in to comment.