Update 10-dynamic-pages.md
This commit is contained in:
parent
57f6118308
commit
132fdf4e6e
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue