aboutsummaryrefslogtreecommitdiffstats
path: root/perllib/FixMyStreet/App/Controller/Around.pm
diff options
context:
space:
mode:
authorStruan Donald <struan@exo.org.uk>2011-05-25 11:52:16 +0100
committerStruan Donald <struan@exo.org.uk>2011-05-25 11:52:16 +0100
commit2bebb13e4c055f8d52bd0d68112cd040b21b3abd (patch)
treedd41a30d522f16ef3ad0852a86f591a65ead2335 /perllib/FixMyStreet/App/Controller/Around.pm
parentef849541cbe7b200db1bd4af6cdc67e3061d1486 (diff)
parent04f96c0a5558f53456b25ae4e7cffad41a7664cb (diff)
Merge branch 'migrate_to_catalyst' of ssh://git.mysociety.org/data/git/public/fixmystreet into migrate_to_catalyst
Diffstat (limited to 'perllib/FixMyStreet/App/Controller/Around.pm')
-rw-r--r--perllib/FixMyStreet/App/Controller/Around.pm4
1 files changed, 2 insertions, 2 deletions
diff --git a/perllib/FixMyStreet/App/Controller/Around.pm b/perllib/FixMyStreet/App/Controller/Around.pm
index f8befcef7..054f83a35 100644
--- a/perllib/FixMyStreet/App/Controller/Around.pm
+++ b/perllib/FixMyStreet/App/Controller/Around.pm
@@ -182,12 +182,12 @@ sub display_location : Private {
# create a list of all the pins
my @pins = map {
my $pin_colour = $_->{state} eq 'fixed' ? 'green' : 'red';
- [ $_->{latitude}, $_->{longitude}, $pin_colour, $_->{id} ];
+ [ $_->{latitude}, $_->{longitude}, $pin_colour, $_->{id}, $_->{title} ];
} @$on_map_all, @$around_map;
{ # FIXME - ideally this indented code should be in the templates
$c->stash->{map_html} = FixMyStreet::Map::display_map(
- $c->fake_q,
+ $c, $c->fake_q,
latitude => $latitude,
longitude => $longitude,
type => 1,