From aa854846102c72afba45b243819897a9516b7ad5 Mon Sep 17 00:00:00 2001 From: Jonas Elan Date: Wed, 10 Jun 2020 17:28:55 -0300 Subject: [PATCH 1/2] Fix link for "serializer associations" section --- docs/general/adapters.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/general/adapters.md b/docs/general/adapters.md index 39d85f6b4..d066a2daf 100644 --- a/docs/general/adapters.md +++ b/docs/general/adapters.md @@ -149,7 +149,7 @@ This adapter follows **version 1.0** of the [format specified](../jsonapi/schema ### Include option -Which [serializer associations](https://github.com/rails-api/active_model_serializers/blob/master/docs/general/serializers.md#associations) are rendered can be specified using the `include` option. The option usage is consistent with [the include option in the JSON API spec](http://jsonapi.org/format/#fetching-includes), and is available in all adapters. +Which [serializer associations](https://github.com/rails-api/active_model_serializers/blob/v0.10.6/docs/general/serializers.md#associations) are rendered can be specified using the `include` option. The option usage is consistent with [the include option in the JSON API spec](http://jsonapi.org/format/#fetching-includes), and is available in all adapters. Example of the usage: ```ruby From 52cf67743c88a4fe76cf8cb2c3ada1571acea4b0 Mon Sep 17 00:00:00 2001 From: Jonas Elan Date: Thu, 11 Jun 2020 08:18:22 -0300 Subject: [PATCH 2/2] Redirect "serializer associations" link to correct version --- docs/general/adapters.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/general/adapters.md b/docs/general/adapters.md index d066a2daf..4e935ea68 100644 --- a/docs/general/adapters.md +++ b/docs/general/adapters.md @@ -149,7 +149,7 @@ This adapter follows **version 1.0** of the [format specified](../jsonapi/schema ### Include option -Which [serializer associations](https://github.com/rails-api/active_model_serializers/blob/v0.10.6/docs/general/serializers.md#associations) are rendered can be specified using the `include` option. The option usage is consistent with [the include option in the JSON API spec](http://jsonapi.org/format/#fetching-includes), and is available in all adapters. +Which [serializer associations](https://github.com/rails-api/active_model_serializers/blob/0-10-stable/docs/general/serializers.md#associations) are rendered can be specified using the `include` option. The option usage is consistent with [the include option in the JSON API spec](http://jsonapi.org/format/#fetching-includes), and is available in all adapters. Example of the usage: ```ruby