From 945a88a668782ebb18d543cdd3b4eb75f83566c0 Mon Sep 17 00:00:00 2001 From: Matthew Somerville Date: Thu, 25 Jan 2018 16:09:19 +0000 Subject: Reinstate old pin loading URL for mobile app use. --- perllib/FixMyStreet/App/Controller/Around.pm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/perllib/FixMyStreet/App/Controller/Around.pm b/perllib/FixMyStreet/App/Controller/Around.pm index e4932ecd5..ae7d83f55 100644 --- a/perllib/FixMyStreet/App/Controller/Around.pm +++ b/perllib/FixMyStreet/App/Controller/Around.pm @@ -284,11 +284,11 @@ sub map_features : Private { Handle the ajax calls that the map makes when it is dragged. The info returned is used to update the pins on the map and the text descriptions on the side of -the map. +the map. Used via /around?ajax=1 but also available at /ajax for mobile app. =cut -sub ajax : Private { +sub ajax : Path('/ajax') { my ( $self, $c ) = @_; my $ret = $c->forward('/location/determine_location_from_bbox'); -- cgit v1.2.3