diff --git a/docs/v3.x/concepts/routing.md b/docs/v3.x/concepts/routing.md index a8a7fd95b5..ee6e79188b 100644 --- a/docs/v3.x/concepts/routing.md +++ b/docs/v3.x/concepts/routing.md @@ -24,9 +24,9 @@ You have to edit the `routes.json` file in one of your APIs folders (`./api/**/c } }, { - "method": ["POST", "PUT"], - "path": "/restaurants/:id", - "handler": "Restaurant.createOrUpdate", + "method": "PUT", + "path": "/restaurants/bulkUpdate", + "handler": "Restaurant.bulkUpdate", "config": { "policies": [] }