diff options
author | Matthew Somerville <matthew@mysociety.org> | 2012-05-21 18:23:22 +0100 |
---|---|---|
committer | Matthew Somerville <matthew@mysociety.org> | 2012-05-22 11:10:52 +0100 |
commit | 2f43c89731477628576d94cfcd6ae93394ad3473 (patch) | |
tree | afb6477e6a3db144916daf161a441a52257c9b9d /perllib/FixMyStreet/App/Controller/Root.pm | |
parent | b9ecf64878bd7ee4b0771a17a244dd29b81d504c (diff) |
Don't have URL path passed through to 404 as error message.
Diffstat (limited to 'perllib/FixMyStreet/App/Controller/Root.pm')
-rw-r--r-- | perllib/FixMyStreet/App/Controller/Root.pm | 2 |
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 |