aboutsummaryrefslogtreecommitdiffstats
path: root/perllib/FixMyStreet/App/Controller/Around.pm
diff options
context:
space:
mode:
authorStruan Donald <struan@exo.org.uk>2011-05-25 17:45:17 +0100
committerStruan Donald <struan@exo.org.uk>2011-05-25 17:45:17 +0100
commit349dd7c35e2ad5d1cef4c8e4a023ec3b17dd8d80 (patch)
tree0705979206f0302bc224bbc1887fd91ad182635a /perllib/FixMyStreet/App/Controller/Around.pm
parent09a64afec4e023a184de075df3780c8b525b6066 (diff)
parent71a8ac1a32323177b68e6c13a1f9b24534aa44ee (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.pm6
1 files changed, 3 insertions, 3 deletions
diff --git a/perllib/FixMyStreet/App/Controller/Around.pm b/perllib/FixMyStreet/App/Controller/Around.pm
index ac665055b..eef805da8 100644
--- a/perllib/FixMyStreet/App/Controller/Around.pm
+++ b/perllib/FixMyStreet/App/Controller/Around.pm
@@ -189,14 +189,14 @@ sub display_location : Private {
} } @$on_map_all, @$around_map;
{ # FIXME - ideally this indented code should be in the templates
- $c->stash->{map_html} = FixMyStreet::Map::display_map(
+ FixMyStreet::Map::display_map(
$c,
latitude => $latitude,
longitude => $longitude,
- type => 1,
+ clickable => 1,
pins => \@pins,
);
- $c->stash->{map_js} = FixMyStreet::Map::header_js();
+ $c->stash->{map_js} = FixMyStreet::Map::header_js();
}
return 1;