Skip to content

Commit

Permalink
Small typo
Browse files Browse the repository at this point in the history
  • Loading branch information
s-moon committed Aug 9, 2018
1 parent 8736e5c commit 3d561cd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion 05-router.md
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ switch ($routeInfo[0]) {
}
```

In the first part of the code, you are registering the available routes for you application. In the second part, the dispatcher gets called and the appropriate part of the switch statement will be executed. If a route was found, the handler callable will be executed.
In the first part of the code, you are registering the available routes for your application. In the second part, the dispatcher gets called and the appropriate part of the switch statement will be executed. If a route was found, the handler callable will be executed.

This setup might work for really small applications, but once you start adding a few routes your bootstrap file will quickly get cluttered. So let's move them out into a separate file.

Expand Down

0 comments on commit 3d561cd

Please sign in to comment.