]> ruin.nu Git - ndwebbie.git/blobdiff - lib/NDWeb/Controller/Root.pm
Nicer 404 handling
[ndwebbie.git] / lib / NDWeb / Controller / Root.pm
index 6421b001b6f3a8eabc69f4347f60c2a4328aed79..cda2e94f62f1f5d20958bf809ff7b9d640e3ce22 100644 (file)
@@ -36,7 +36,6 @@ sub index : Local Path Args(0) {
 
 sub default : Path {
        my ( $self, $c ) = @_;
-       $c->res->body( 'Page not found' );
        $c->response->status(404);
 }