Merge pull request #29 from KevinMGranger/patch-1
Fix typo in 05-router.md
This commit is contained in:
commit
256f6f584d
1 changed files with 1 additions and 1 deletions
|
@ -74,6 +74,6 @@ $routeDefinitionCallback = function (\FastRoute\RouteCollector $r) {
|
||||||
$dispatcher = \FastRoute\simpleDispatcher($routeDefinitionCallback);
|
$dispatcher = \FastRoute\simpleDispatcher($routeDefinitionCallback);
|
||||||
```
|
```
|
||||||
|
|
||||||
This is already an improvement, but now all the handler code is in the `Routers.php` file. This is not optimal, so let's fix that in the next part.
|
This is already an improvement, but now all the handler code is in the `Routes.php` file. This is not optimal, so let's fix that in the next part.
|
||||||
|
|
||||||
[<< previous](04-http.md) | [next >>](06-dispatching-to-a-class.md)
|
[<< previous](04-http.md) | [next >>](06-dispatching-to-a-class.md)
|
||||||
|
|
Loading…
Reference in a new issue