From 4aeed463059b4769135df9ed4b28a73d810b28d0 Mon Sep 17 00:00:00 2001 From: Edmund von der Burg Date: Tue, 22 Feb 2011 16:28:51 +0000 Subject: make default handler state that code has fallen through to the Catalyst app --- perllib/FixMyStreet/App/Controller/Root.pm | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'perllib/FixMyStreet/App/Controller/Root.pm') diff --git a/perllib/FixMyStreet/App/Controller/Root.pm b/perllib/FixMyStreet/App/Controller/Root.pm index 8b34e66ca..41bca4b7f 100644 --- a/perllib/FixMyStreet/App/Controller/Root.pm +++ b/perllib/FixMyStreet/App/Controller/Root.pm @@ -41,8 +41,11 @@ Standard 404 error page sub default :Path { my ( $self, $c ) = @_; - $c->response->body( 'Page not found' ); - $c->response->status(404); + + $c->response->body( "Fallen through to FixMyStreet::App default handler" ); + + # $c->response->body( 'Page not found' ); + # $c->response->status(404); } =head2 end -- cgit v1.2.3