diff options
author | Matthew Somerville <matthew@mysociety.org> | 2018-01-25 16:09:19 +0000 |
---|---|---|
committer | Matthew Somerville <matthew@mysociety.org> | 2018-01-25 16:09:19 +0000 |
commit | 945a88a668782ebb18d543cdd3b4eb75f83566c0 (patch) | |
tree | 221f66ce3c0ee4147c27404dc7086cc5f1284834 | |
parent | b3d26a80a0728e49d857c0fe5cbc2966512561ff (diff) |
Reinstate old pin loading URL for mobile app use.
-rw-r--r-- | perllib/FixMyStreet/App/Controller/Around.pm | 4 |
1 files 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'); |