$this->error(“Post not found”) produces a 404 error
Notice: This thread is very old.
- simonjcarr
- Member | 28
Hi I am running through the Blog Tutorial and cant't get $this->error() function to work correctly.
In bootstrap.php i have
but when I request a post that does not exist, I don't get a pretty error page I get