aboutsummaryrefslogtreecommitdiffstats
path: root/perllib/FixMyStreet/App/Controller/Report.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/Report.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/Report.pm')
-rw-r--r--perllib/FixMyStreet/App/Controller/Report.pm5
1 files changed, 2 insertions, 3 deletions
diff --git a/perllib/FixMyStreet/App/Controller/Report.pm b/perllib/FixMyStreet/App/Controller/Report.pm
index 82f553d71..82d83e318 100644
--- a/perllib/FixMyStreet/App/Controller/Report.pm
+++ b/perllib/FixMyStreet/App/Controller/Report.pm
@@ -150,11 +150,10 @@ sub generate_map_tags : Private {
my $problem = $c->stash->{problem};
- $c->stash->{map_start_html} = FixMyStreet::Map::display_map(
+ FixMyStreet::Map::display_map(
$c,
latitude => $problem->latitude,
longitude => $problem->longitude,
- type => 0,
pins => $problem->used_map
? [ {
latitude => $problem->latitude,
@@ -163,7 +162,7 @@ sub generate_map_tags : Private {
} ]
: [],
);
- $c->stash->{map_js} = FixMyStreet::Map::header_js();
+ $c->stash->{map_js} = FixMyStreet::Map::header_js();
return 1;
}