doc(README): fix route param in custom routes (#460)

removed the :id in front of the category query param
This commit is contained in:
Jeremy
2017-01-27 19:01:28 -05:00
committed by typicode
parent 4fb3052b41
commit 2c435eeb4e

View File

@ -304,7 +304,7 @@ Create a `routes.json` file. Pay attention to start every route with `/`.
{
"/api/": "/",
"/blog/:resource/:id/show": "/:resource/:id",
"/blog/:category": "/posts/:id?category=:category"
"/blog/:category": "/posts?category=:category"
}
```