aboutsummaryrefslogtreecommitdiffstats
path: root/perllib/FixMyStreet/App/Controller/Admin.pm
diff options
context:
space:
mode:
authorMatthew Somerville <matthew@mysociety.org>2012-12-20 12:31:22 +0000
committerMatthew Somerville <matthew@mysociety.org>2012-12-20 12:31:22 +0000
commit723e67ba1944b031d52b196bd1e756ac15070e53 (patch)
treeca3e0d1ed3b3812857a20529b0a2545ca6514916 /perllib/FixMyStreet/App/Controller/Admin.pm
parente56bbc838df856cd72c6c7b22d0b1f0e37c59777 (diff)
Start of DM summary admin page for Zurich.
Diffstat (limited to 'perllib/FixMyStreet/App/Controller/Admin.pm')
-rw-r--r--perllib/FixMyStreet/App/Controller/Admin.pm4
1 files changed, 4 insertions, 0 deletions
diff --git a/perllib/FixMyStreet/App/Controller/Admin.pm b/perllib/FixMyStreet/App/Controller/Admin.pm
index 0fd98733f..c38c2b7da 100644
--- a/perllib/FixMyStreet/App/Controller/Admin.pm
+++ b/perllib/FixMyStreet/App/Controller/Admin.pm
@@ -60,6 +60,10 @@ Displays some summary information for the requests.
sub index : Path : Args(0) {
my ( $self, $c ) = @_;
+ if ($c->cobrand->moniker eq 'zurich') {
+ return $c->cobrand->admin();
+ }
+
my $site_restriction = $c->cobrand->site_restriction();
my $problems = $c->cobrand->problems->summary_count;