Merge pull request #336 from coderbydesign/patch-1

Minor fix in README.md
This commit is contained in:
Shishir Kakaraddi 2018-11-03 11:30:35 -07:00 committed by GitHub
commit a105bac3d9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -221,7 +221,7 @@ end
``` ```
### Links Per Object ### 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. 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.