aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatthew Somerville <matthew@mysociety.org>2012-05-21 18:23:22 +0100
committerMatthew Somerville <matthew@mysociety.org>2012-05-22 11:10:52 +0100
commit2f43c89731477628576d94cfcd6ae93394ad3473 (patch)
treeafb6477e6a3db144916daf161a441a52257c9b9d
parentb9ecf64878bd7ee4b0771a17a244dd29b81d504c (diff)
Don't have URL path passed through to 404 as error message.
-rw-r--r--perllib/FixMyStreet/App/Controller/Root.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/perllib/FixMyStreet/App/Controller/Root.pm b/perllib/FixMyStreet/App/Controller/Root.pm
index 9cdf0b523..7f7d7f5fd 100644
--- a/perllib/FixMyStreet/App/Controller/Root.pm
+++ b/perllib/FixMyStreet/App/Controller/Root.pm
@@ -68,7 +68,7 @@ Forward to the standard 404 error page
sub default : Path {
my ( $self, $c ) = @_;
- $c->detach('/page_error_404_not_found');
+ $c->detach('/page_error_404_not_found', []);
}
=head2 page_error_404_not_found, page_error_410_gone