Update README.md

This commit is contained in:
Simon Sessingø
2015-09-21 19:40:58 +02:00
parent 6b8ab11f28
commit 46af0947e8
+2 -2
View File
@@ -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,7 +149,7 @@ 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']);```