diff --git a/core/operations.md b/core/operations.md index efd859467ab..8eb9e344ecd 100644 --- a/core/operations.md +++ b/core/operations.md @@ -376,7 +376,7 @@ If you put the subresource on a relation that is to-many, you will retrieve a co Last but not least, subresources can be nested, such that `/questions/42/answer/comments` will get the collection of comments for the answer to question 42. -You may want custom groups on subresources. Because a subresource is nothing more than a collection operation, you can set `normalization_context` or `denormalization_context` on that operation. To do so, you need to override `collectionOperations`. Based on the above operation, because we retrieve an answer, we need to alter its configuration: +You may want custom groups on subresources. Because a subresource is nothing more than a collection operation, you can set `normalization_context` or `denormalization_context` on that operation. To do so, you need to override `subresourceOperations`. Based on the above operation, because we retrieve an answer, we need to alter its configuration: ```php - - + + GET foobar - - + + ```