aboutsummaryrefslogtreecommitdiffstats
path: root/perllib/FixMyStreet/App/Controller/Alert.pm
diff options
context:
space:
mode:
authorJosh Angell <josh@supercooldesign.co.uk>2012-03-06 13:15:20 +0000
committerJosh Angell <josh@supercooldesign.co.uk>2012-03-06 13:15:20 +0000
commit8b10c8429469465cc03160d0eb2c2f7e3c89b0bc (patch)
tree2c005e78f69f4d7e8d6d1e15f450bf6a845f5a2e /perllib/FixMyStreet/App/Controller/Alert.pm
parent2db2ea9b1bf6873f0f8fed7aaaa55d7b6d8e839f (diff)
parent1f4f84c37d1e1d752e5cc3ae3e0175dc1ee41ded (diff)
Merge branch 'supercool' of ssh://github.com/mysociety/fixmystreet into supercool
Diffstat (limited to 'perllib/FixMyStreet/App/Controller/Alert.pm')
-rw-r--r--perllib/FixMyStreet/App/Controller/Alert.pm2
1 files changed, 2 insertions, 0 deletions
diff --git a/perllib/FixMyStreet/App/Controller/Alert.pm b/perllib/FixMyStreet/App/Controller/Alert.pm
index 40dde455e..2698c6ac0 100644
--- a/perllib/FixMyStreet/App/Controller/Alert.pm
+++ b/perllib/FixMyStreet/App/Controller/Alert.pm
@@ -505,6 +505,8 @@ sub setup_request : Private {
$c->stash->{rznvy} ||= $c->user->email;
}
+ $c->stash->{template} = 'alert/list-ajax.html' if $c->req->param('ajax');
+
return 1;
}