fix broken link

This commit is contained in:
George Millo 2015-12-31 16:44:54 +01:00
parent 7bc66c5334
commit fdbc13c2de

View File

@ -15,7 +15,7 @@ and, if there is no serializer, primitives.
The **`ActiveModel::Adapter`** describes the structure of the JSON document generated from a The **`ActiveModel::Adapter`** describes the structure of the JSON document generated from a
serializer. For example, the `Attributes` example represents each serializer as its serializer. For example, the `Attributes` example represents each serializer as its
unmodified attributes. The `JsonApi` adapter represents the serializer as a [JSON unmodified attributes. The `JsonApi` adapter represents the serializer as a [JSON
API](jsonapi.org/) document. API](http://jsonapi.org/) document.
The **`ActiveModel::SerializableResource`** acts to coordinate the serializer(s) and adapter The **`ActiveModel::SerializableResource`** acts to coordinate the serializer(s) and adapter
to an object that responds to `to_json`, and `as_json`. It is used in the controller to to an object that responds to `to_json`, and `as_json`. It is used in the controller to