aboutsummaryrefslogtreecommitdiffstats
path: root/perllib/FixMyStreet/App/Controller
diff options
context:
space:
mode:
authorMatthew Somerville <matthew@mysociety.org>2011-06-29 22:39:50 +0100
committerMatthew Somerville <matthew@mysociety.org>2011-06-29 22:44:06 +0100
commit81c55de7598ff15f56de6341727ed46f7f9eed18 (patch)
tree3f6722764b2f5a93a4de2b317764652627dc4e6a /perllib/FixMyStreet/App/Controller
parent18466c1477b47c7d8abf186d78f4ba21df9c18ff (diff)
Move to Vector layer rather than Markers, to be able to use the Strategy/Protocol features.
Diffstat (limited to 'perllib/FixMyStreet/App/Controller')
-rw-r--r--perllib/FixMyStreet/App/Controller/Around.pm1
-rw-r--r--perllib/FixMyStreet/App/Controller/Report/New.pm4
2 files changed, 1 insertions, 4 deletions
diff --git a/perllib/FixMyStreet/App/Controller/Around.pm b/perllib/FixMyStreet/App/Controller/Around.pm
index a49d796fc..ef85ba7ea 100644
--- a/perllib/FixMyStreet/App/Controller/Around.pm
+++ b/perllib/FixMyStreet/App/Controller/Around.pm
@@ -196,6 +196,7 @@ sub display_location : Private {
} @$on_map_all, @$around_map;
}
+ $c->stash->{page} = 'around'; # So the map knows to make clickable pins, update on pan
FixMyStreet::Map::display_map(
$c,
latitude => $latitude,
diff --git a/perllib/FixMyStreet/App/Controller/Report/New.pm b/perllib/FixMyStreet/App/Controller/Report/New.pm
index 4488ce8cd..3a7d18a1c 100644
--- a/perllib/FixMyStreet/App/Controller/Report/New.pm
+++ b/perllib/FixMyStreet/App/Controller/Report/New.pm
@@ -71,10 +71,6 @@ phone
partial
-=head2 can be ignored
-
-all_pins: related to map display - not relevant to creation of a new report
-
=cut
sub report_new : Path : Args(0) {