Fix typo in 05-router.md

Routers.php -> Routes.php
This commit is contained in:
Kevin M Granger 2015-07-23 15:09:52 -07:00
parent b0bf75da2b
commit f2c5137ae1

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)