From 46af0947e8808c817e43c2a2bc22fa5b27691bce Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Simon=20Sessing=C3=B8?= Date: Mon, 21 Sep 2015 19:40:58 +0200 Subject: [PATCH] Update README.md --- README.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 3b0f964..1cd7bb4 100644 --- a/README.md +++ b/README.md @@ -136,7 +136,7 @@ class Router extends SimpleRouter { } ``` -This is a basic example of a ```helper.php``` for generating urls. +This is a basic example of a helper function for generating urls. ```php use Pecee\SimpleRouter\RouterBase; @@ -149,13 +149,13 @@ In ```routes.php``` we have added this route: ```Router::get('/item/{id}', 'myController@show');``` -In the template we call: +In the template we then call: ```url('myController@show', ['id' => 22], ['category' => 'shoes']);``` Result url is: -```/item/22?category=shoes``` +```/item/22?category=shoes ``` ## Documentation While I work on a better documentation, please refer to the Laravel 5 routing documentation here: