aboutsummaryrefslogtreecommitdiffstats
path: root/perllib/FixMyStreet/App/Controller/Root.pm
diff options
context:
space:
mode:
authorMatthew Somerville <matthew@mysociety.org>2011-06-14 17:36:46 +0100
committerMatthew Somerville <matthew@mysociety.org>2011-06-14 17:36:46 +0100
commitb842092026d72f04c39473dc9e98bfb1505707ff (patch)
tree67877a2c722ea13db81b42fadfeadea8754f3e58 /perllib/FixMyStreet/App/Controller/Root.pm
parent815ce1e98c6024ec0ea4b2843981a00bfd88507e (diff)
Remove some unused docs, show 410 message with front page.
Diffstat (limited to 'perllib/FixMyStreet/App/Controller/Root.pm')
-rw-r--r--perllib/FixMyStreet/App/Controller/Root.pm4
1 files changed, 2 insertions, 2 deletions
diff --git a/perllib/FixMyStreet/App/Controller/Root.pm b/perllib/FixMyStreet/App/Controller/Root.pm
index 7e2acc03c..9cdf0b523 100644
--- a/perllib/FixMyStreet/App/Controller/Root.pm
+++ b/perllib/FixMyStreet/App/Controller/Root.pm
@@ -89,8 +89,8 @@ sub page_error_404_not_found : Private {
sub page_error_410_gone : Private {
my ( $self, $c, $error_msg ) = @_;
- $c->stash->{template} = 'errors/page_error_410_gone.html';
- $c->stash->{error_msg} = $error_msg;
+ $c->stash->{template} = 'index.html';
+ $c->stash->{error} = $error_msg;
$c->response->status(410);
}