aboutsummaryrefslogtreecommitdiffstats
path: root/perllib/FixMyStreet/App/Controller/Dashboard.pm
diff options
context:
space:
mode:
authorStruan Donald <struan@exo.org.uk>2012-05-15 11:12:40 +0100
committerStruan Donald <struan@exo.org.uk>2012-05-15 11:12:40 +0100
commit29b9957d9967f34f90d364cf378b8c0425479f31 (patch)
tree9b9768faa1e0d50655ce7d6b36bd9a63080595da /perllib/FixMyStreet/App/Controller/Dashboard.pm
parent8a6bcedac3697e2c1c07c27bc0b42224b8f5ba16 (diff)
need council details for setup categories as need type to get category list
Diffstat (limited to 'perllib/FixMyStreet/App/Controller/Dashboard.pm')
-rw-r--r--perllib/FixMyStreet/App/Controller/Dashboard.pm3
1 files changed, 1 insertions, 2 deletions
diff --git a/perllib/FixMyStreet/App/Controller/Dashboard.pm b/perllib/FixMyStreet/App/Controller/Dashboard.pm
index d6c037f5d..1c8447c4e 100644
--- a/perllib/FixMyStreet/App/Controller/Dashboard.pm
+++ b/perllib/FixMyStreet/App/Controller/Dashboard.pm
@@ -100,8 +100,7 @@ sub index : Path : Args(0) {
);
$c->stash->{children} = $children;
- # XXX Hmm, this is probably the best way to go
- $c->stash->{all_councils} = { $council => { id => $council } };
+ $c->stash->{all_councils} = { $council => $council_detail };
$c->forward( '/report/new/setup_categories_and_councils' );
# See if we've had anything from the dropdowns