Skip to content

Commit 2c435ee

Browse files
jmzagorskitypicode
authored andcommitted
doc(README): fix route param in custom routes (typicode#460)
removed the :id in front of the category query param
1 parent 4fb3052 commit 2c435ee

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -304,7 +304,7 @@ Create a `routes.json` file. Pay attention to start every route with `/`.
304304
{
305305
"/api/": "/",
306306
"/blog/:resource/:id/show": "/:resource/:id",
307-
"/blog/:category": "/posts/:id?category=:category"
307+
"/blog/:category": "/posts?category=:category"
308308
}
309309
```
310310

0 commit comments

Comments
 (0)