docs/general/serializers.md in active_model_serializers-0.10.4 vs docs/general/serializers.md in active_model_serializers-0.10.5

- old
+ new

@@ -223,13 +223,13 @@ ```ruby link :self do href "https://example.com/link_author/#{object.id}" end -link :author { link_author_url(object) } -link :link_authors { link_authors_url } +link(:author) { link_author_url(object) } +link(:link_authors) { link_authors_url } link :other, 'https://example.com/resource' -link :posts { link_author_posts_url(object) } +link(:posts) { link_author_posts_url(object) } ``` #### #object The object being serialized.