From a2c7a5eb88ba82488ed4dd18b761029d154350ed Mon Sep 17 00:00:00 2001 From: Phil Date: Wed, 31 Dec 2014 15:11:15 +0000 Subject: [PATCH] Fixed readme syntax error --- README.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index 969cf17..e4fdf43 100644 --- a/README.md +++ b/README.md @@ -53,10 +53,10 @@ WellRESTed's primary goal is to facilitate mapping of URIs to classes that will // Build the router. $myRouter = new Router(); $myRouter->addRoutes(array( - new StaticRoute("/", "\\myapi\\Handlers\\RootHandler")), - new StaticRoute("/cats/", "\\myapi\\Handlers\\CatCollectionHandler")), - new TemplateRoute("/cats/{id}/", "\\myapi\\Handlers\\CatItemHandler")) -); + new StaticRoute("/", "\\myapi\\Handlers\\RootHandler"), + new StaticRoute("/cats/", "\\myapi\\Handlers\\CatCollectionHandler"), + new TemplateRoute("/cats/{id}/", "\\myapi\\Handlers\\CatItemHandler") +)); $myRouter->respond(); ```