From 42ceba9d88cdb3ffc0fdfbb7ad5c436deeb8096c Mon Sep 17 00:00:00 2001 From: DMehaffy Date: Mon, 21 Sep 2020 07:53:23 -0700 Subject: [PATCH] Remove bad example with array for method (#7972) Signed-off-by: Derrick Mehaffy --- docs/v3.x/concepts/routing.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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": [] }