diff options
author | Struan Donald <struan@exo.org.uk> | 2011-05-06 16:14:16 +0100 |
---|---|---|
committer | Struan Donald <struan@exo.org.uk> | 2011-05-06 16:14:16 +0100 |
commit | f8ee12145969b2e176504ed66a666269331159f7 (patch) | |
tree | 1e29fd64826c9d93bc565494a1f2c2c545374a26 /perllib/FixMyStreet/App/Controller/Around.pm | |
parent | 5ea25c06ade6453297ff30f7656cabdb967cc9c1 (diff) |
Allow us to get councils or councils and wards and control if we remove redundant councils
Diffstat (limited to 'perllib/FixMyStreet/App/Controller/Around.pm')
-rw-r--r-- | perllib/FixMyStreet/App/Controller/Around.pm | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/perllib/FixMyStreet/App/Controller/Around.pm b/perllib/FixMyStreet/App/Controller/Around.pm index 92cd1556a..86e2ac001 100644 --- a/perllib/FixMyStreet/App/Controller/Around.pm +++ b/perllib/FixMyStreet/App/Controller/Around.pm @@ -269,7 +269,9 @@ sub check_location_is_acceptable : Private { } # check that there are councils that can accept this location - return $c->forward('/council/load_and_check_councils', 'submit_problem' ); + $c->stash->{council_check_action} = 'submit_problem'; + $c->stash->{remove_redundant_councils} = 1; + return $c->forward('/council/load_and_check_councils'); } =head2 /ajax |