Merge pull request #29 from KevinMGranger/patch-1

Fix typo in 05-router.md
This commit is contained in:
Patrick Louys 2015-07-24 12:02:39 +02:00
commit 256f6f584d

View file

@ -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)