aboutsummaryrefslogtreecommitdiffstats
path: root/perllib/FixMyStreet/App.pm
diff options
context:
space:
mode:
authorMatthew Somerville <matthew@mysociety.org>2012-12-19 15:58:42 +0000
committerMatthew Somerville <matthew@mysociety.org>2012-12-19 15:58:42 +0000
commitb79674b0145fc2c4cb57ed77ceec39246d02621c (patch)
tree8427323960381e28038b354657f76b633aa82cb5 /perllib/FixMyStreet/App.pm
parent20fa5ef4c92dc7cab092412149fdb27b9faab145 (diff)
Allow unconfirmed as a visible state in Zurich, adjust front end list/item templates to suit.
Diffstat (limited to 'perllib/FixMyStreet/App.pm')
-rw-r--r--perllib/FixMyStreet/App.pm4
1 files changed, 4 insertions, 0 deletions
diff --git a/perllib/FixMyStreet/App.pm b/perllib/FixMyStreet/App.pm
index fda9d665c..fde1fb931 100644
--- a/perllib/FixMyStreet/App.pm
+++ b/perllib/FixMyStreet/App.pm
@@ -188,6 +188,10 @@ sub setup_request {
mySociety::MaPit::configure( "http://$host/fakemapit/" );
}
+ if ($c->cobrand->moniker eq 'zurich') {
+ FixMyStreet::DB::Result::Problem->visible_states_add_unconfirmed();
+ }
+
return $c;
}