aboutsummaryrefslogtreecommitdiffstats
path: root/perllib/FixMyStreet/App/Controller/Around.pm
diff options
context:
space:
mode:
authorMatthew Somerville <matthew-github@dracos.co.uk>2017-01-12 15:48:18 +0000
committerMatthew Somerville <matthew-github@dracos.co.uk>2017-01-12 15:48:18 +0000
commita65d8b57f3be2585a5b835e18bb0940170d4b448 (patch)
treee59a6bca9e16665b98d8d04af49b8bf4db1da9a7 /perllib/FixMyStreet/App/Controller/Around.pm
parent940bd236650b2bf7208d9b06c33ee30ad94492f6 (diff)
parent831f0addbac7eb3e6641877c936f90279d1bb186 (diff)
Merge branch 'listshort'
Diffstat (limited to 'perllib/FixMyStreet/App/Controller/Around.pm')
-rw-r--r--perllib/FixMyStreet/App/Controller/Around.pm2
1 files changed, 2 insertions, 0 deletions
diff --git a/perllib/FixMyStreet/App/Controller/Around.pm b/perllib/FixMyStreet/App/Controller/Around.pm
index b4f94bb35..96854b17b 100644
--- a/perllib/FixMyStreet/App/Controller/Around.pm
+++ b/perllib/FixMyStreet/App/Controller/Around.pm
@@ -291,6 +291,8 @@ sub ajax : Path('/ajax') {
# assume this is not cacheable - may need to be more fine-grained later
$c->res->header( 'Cache_Control' => 'max-age=0' );
+ $c->stash->{page} = 'around'; # Needed by _item.html
+
# how far back should we go?
my $all_pins = $c->get_param('all_pins') ? 1 : undef;
my $interval = $all_pins ? undef : $c->cobrand->on_map_default_max_pin_age;