From 132fdf4e6ee005a7de2deabbb3851fc3d68cb7d0 Mon Sep 17 00:00:00 2001 From: Patrick Louys Date: Tue, 1 Nov 2016 17:22:53 +0100 Subject: [PATCH] Update 10-dynamic-pages.md --- 10-dynamic-pages.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/10-dynamic-pages.md b/10-dynamic-pages.md index eea4ac7..d611369 100644 --- a/10-dynamic-pages.md +++ b/10-dynamic-pages.md @@ -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); }