aboutsummaryrefslogtreecommitdiffstats
path: root/perllib/FixMyStreet/App/Controller/Reports.pm
diff options
context:
space:
mode:
authorMatthew Somerville <matthew@mysociety.org>2011-07-01 23:22:19 +0100
committerMatthew Somerville <matthew@mysociety.org>2011-07-01 23:22:19 +0100
commit3dd035ddcba204029ddc6f5576ded03acbc29f01 (patch)
tree21b27cbde9aaec476021be531492029338b90523 /perllib/FixMyStreet/App/Controller/Reports.pm
parent69129455f2309de91fdef44bbf776e36a6cac40b (diff)
Make pins clickable on all reports pages.
Diffstat (limited to 'perllib/FixMyStreet/App/Controller/Reports.pm')
-rw-r--r--perllib/FixMyStreet/App/Controller/Reports.pm1
1 files changed, 1 insertions, 0 deletions
diff --git a/perllib/FixMyStreet/App/Controller/Reports.pm b/perllib/FixMyStreet/App/Controller/Reports.pm
index 4762e6f07..aceca7f20 100644
--- a/perllib/FixMyStreet/App/Controller/Reports.pm
+++ b/perllib/FixMyStreet/App/Controller/Reports.pm
@@ -102,6 +102,7 @@ sub ward : Path : Args(2) {
my $pins = $c->stash->{pins};
+ $c->stash->{page} = 'reports'; # So the map knows to make clickable pins
FixMyStreet::Map::display_map(
$c,
latitude => @$pins ? $pins->[0]{latitude} : 0,