From b2d2fee01316ca8940e28e81309a52a313df4f4e Mon Sep 17 00:00:00 2001 From: Patrick Louys Date: Tue, 1 Nov 2016 16:18:02 +0100 Subject: [PATCH] Update 05-router.md --- 05-router.md | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/05-router.md b/05-router.md index d635a58..fda5b22 100644 --- a/05-router.md +++ b/05-router.md @@ -12,7 +12,7 @@ Alternative packages: [symfony/Routing](https://github.com/symfony/Routing), [Au By now you know how to install Composer packages, so I will leave that to you. -Now add this code block to your `Bootstrap.php` file where you added the 'hello world' message in the last part. +Now add this code block to your `Bootstrap.php` file where you added the 'hello world' message in the last chapter. ```php $dispatcher = \FastRoute\simpleDispatcher(function (\FastRoute\RouteCollector $r) { @@ -49,7 +49,7 @@ This setup might work for really small applications, but once you start adding a Create a `Routes.php` file in the `src/` folder. It should look like this: ```php ->](06-dispatching-to-a-class.md)