aboutsummaryrefslogtreecommitdiffstats
path: root/perllib/FixMyStreet/App/Controller/Alert.pm
diff options
context:
space:
mode:
authorMatthew Somerville <matthew@mysociety.org>2012-03-06 13:06:06 +0000
committerMatthew Somerville <matthew@mysociety.org>2012-03-06 13:06:06 +0000
commit23cabf585e239bef99e7fdb28337398c828d6112 (patch)
tree65337c4b0c5a4f2fadf0da248e39b210203d1b8a /perllib/FixMyStreet/App/Controller/Alert.pm
parent9923c8f971657a0843f33dbc085e0aa6baf0d3b2 (diff)
Basics of sliding drawer for alerts on around page.
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;
}