aboutsummaryrefslogtreecommitdiffstats
path: root/perllib/FixMyStreet/App/Controller/Root.pm
diff options
context:
space:
mode:
authorEdmund von der Burg <evdb@mysociety.org>2011-02-22 16:28:51 +0000
committerEdmund von der Burg <evdb@mysociety.org>2011-02-22 16:28:51 +0000
commit4aeed463059b4769135df9ed4b28a73d810b28d0 (patch)
tree2ee7d67b16a3fa2e8ba9a3b528614809ce7788ff /perllib/FixMyStreet/App/Controller/Root.pm
parentb1bb332539abed1c0efb19d2d3f2eef1fca00fb1 (diff)
make default handler state that code has fallen through to the Catalyst app
Diffstat (limited to 'perllib/FixMyStreet/App/Controller/Root.pm')
-rw-r--r--perllib/FixMyStreet/App/Controller/Root.pm7
1 files changed, 5 insertions, 2 deletions
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