From 2835ee9d82d508e32720138702ca3879a41c19db Mon Sep 17 00:00:00 2001 From: Matthew Somerville Date: Tue, 6 Sep 2016 16:07:30 +0100 Subject: Add manage screen for editing priority/category. This is a cut-down version of the full inspect screen. We truncate the co-ordinates just in case (they should be anyway but e.g. the test report isn't). --- perllib/FixMyStreet/App/Controller/Around.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'perllib/FixMyStreet/App/Controller/Around.pm') diff --git a/perllib/FixMyStreet/App/Controller/Around.pm b/perllib/FixMyStreet/App/Controller/Around.pm index c4feca8b6..ec84ca09a 100644 --- a/perllib/FixMyStreet/App/Controller/Around.pm +++ b/perllib/FixMyStreet/App/Controller/Around.pm @@ -52,7 +52,7 @@ sub index : Path : Args(0) { } # Check to see if the spot is covered by a area - if not show an error. - return unless $c->forward('check_location_is_acceptable'); + return unless $c->forward('check_location_is_acceptable', []); # If we have a partial - redirect to /report/new so that it can be # completed. -- cgit v1.2.3