aboutsummaryrefslogtreecommitdiffstats
path: root/perllib/FixMyStreet/App/Controller/Root.pm
diff options
context:
space:
mode:
authorStruan Donald <struan@exo.org.uk>2011-06-15 10:16:03 +0100
committerStruan Donald <struan@exo.org.uk>2011-06-15 10:16:03 +0100
commit50f8ee6172cb92056c2ead269e65017b3aa807cf (patch)
tree2857c35c4ec9830a10788474ecc325231b19f957 /perllib/FixMyStreet/App/Controller/Root.pm
parentc62eb94799f854cb3fcaae8c8656a867e90c646e (diff)
parentf941480396c4e8294fccf9aa812d715498085766 (diff)
Merge branch 'master' of ssh://git.mysociety.org/data/git/public/fixmystreet
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);
}