From 2f43c89731477628576d94cfcd6ae93394ad3473 Mon Sep 17 00:00:00 2001 From: Matthew Somerville Date: Mon, 21 May 2012 18:23:22 +0100 Subject: Don't have URL path passed through to 404 as error message. --- perllib/FixMyStreet/App/Controller/Root.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (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 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 -- cgit v1.2.3