aboutsummaryrefslogtreecommitdiffstats
path: root/perllib/FixMyStreet/App/Controller/Around.pm
diff options
context:
space:
mode:
Diffstat (limited to 'perllib/FixMyStreet/App/Controller/Around.pm')
-rw-r--r--perllib/FixMyStreet/App/Controller/Around.pm16
1 files changed, 7 insertions, 9 deletions
diff --git a/perllib/FixMyStreet/App/Controller/Around.pm b/perllib/FixMyStreet/App/Controller/Around.pm
index 370fe7b89..2bfd52633 100644
--- a/perllib/FixMyStreet/App/Controller/Around.pm
+++ b/perllib/FixMyStreet/App/Controller/Around.pm
@@ -195,15 +195,13 @@ sub display_location : Private {
} @$on_map_all, @$around_map;
}
- { # FIXME - ideally this indented code should be in the templates
- FixMyStreet::Map::display_map(
- $c,
- latitude => $latitude,
- longitude => $longitude,
- clickable => 1,
- pins => \@pins,
- );
- }
+ FixMyStreet::Map::display_map(
+ $c,
+ latitude => $latitude,
+ longitude => $longitude,
+ clickable => 1,
+ pins => \@pins,
+ );
return 1;
}