Update 10-dynamic-pages.md

This commit is contained in:
Patrick Louys 2016-11-01 17:22:53 +01:00 committed by GitHub
parent 57f6118308
commit 132fdf4e6e

View file

@ -166,7 +166,7 @@ Then in the `FilePageReader` file add this code at the end of your `readBySlug`
```php
$path = "$this->pageFolder/$slug.md";
if(!file_exists($path)) {
if (!file_exists($path)) {
throw new InvalidPageException($slug);
}