aboutsummaryrefslogtreecommitdiffstats
path: root/perllib/FixMyStreet/App/Controller/Around.pm
diff options
context:
space:
mode:
authorMatthew Somerville <matthew@mysociety.org>2011-05-20 19:45:05 +0100
committerMatthew Somerville <matthew@mysociety.org>2011-05-20 19:45:05 +0100
commit4af1e3d75ae247fd7d6a9910087fc36e1a9659f5 (patch)
tree78dc8de855bdb34ff16fe13cd3d6c912d0ff36d7 /perllib/FixMyStreet/App/Controller/Around.pm
parente7fd95f6ca3f21aff54bdbb6aeaabf0476d62e24 (diff)
Move some of map_start to templates.
Diffstat (limited to 'perllib/FixMyStreet/App/Controller/Around.pm')
-rw-r--r--perllib/FixMyStreet/App/Controller/Around.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/perllib/FixMyStreet/App/Controller/Around.pm b/perllib/FixMyStreet/App/Controller/Around.pm
index cbffbd080..cc7e84706 100644
--- a/perllib/FixMyStreet/App/Controller/Around.pm
+++ b/perllib/FixMyStreet/App/Controller/Around.pm
@@ -218,6 +218,7 @@ sub display_location : Private {
if mySociety::Config::get('COUNTRY') eq 'GB';
$map_links .= "</p>";
+ $c->stash->{map_links} = $map_links;
$c->stash->{map_html} = FixMyStreet::Map::display_map(
$c->fake_q,
@@ -225,7 +226,6 @@ sub display_location : Private {
longitude => $longitude,
type => 1,
pins => \@pins,
- post => $map_links
);
$c->stash->{map_js} = FixMyStreet::Map::header_js();
}