You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I was having problems with adding custom path name for subresource operation. I've followed suggestions from [this comment](api-platform/api-platform#1581 (comment)) and it worked fine, so I am proposing a change to the documentation.
Copy file name to clipboardExpand all lines: core/subresources.md
+2-2Lines changed: 2 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -178,15 +178,15 @@ may use `bin/console debug:router`.
178
178
179
179
## Using Custom Paths
180
180
181
-
You can control the path of subresources with the `path` option of the `subresourceOperations` parameter:
181
+
You can control the path of subresources with the `path` option of the `subresourceOperations` parameter. Notice that you don't have to use the prefix `api_questions_` because it's an operation name:
0 commit comments