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/Alert.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/Alert.pm')
-rw-r--r-- | perllib/FixMyStreet/App/Controller/Alert.pm | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/perllib/FixMyStreet/App/Controller/Alert.pm b/perllib/FixMyStreet/App/Controller/Alert.pm index c18ba657f..49a8bce8a 100644 --- a/perllib/FixMyStreet/App/Controller/Alert.pm +++ b/perllib/FixMyStreet/App/Controller/Alert.pm @@ -94,7 +94,8 @@ sub list :Path('list') :Args(0) { # my $errors = ''; # $errors = '<ul class="error"><li>' . join('</li><li>', @errors) . '</li></ul>' if @errors; # - unless ( $c->forward( '/council/load_and_check_councils', 'alert' ) ) { + $c->stash->{council_check_action} = 'alert'; + unless ( $c->forward( '/council/load_and_check_councils_and_wards' ) ) { $c->go( 'index' ); } |