Created custom 404 error handling

This commit is contained in:
Gregory Ballantine
2016-11-28 18:08:26 -05:00
parent f2ca6af5bc
commit 85e434dd83
3 changed files with 28 additions and 7 deletions

View File

@ -0,0 +1,5 @@
<?php
$app->notFound(function() use ($app) {
$app->render('errors/404.twig');
});