diff options
author | Matthew Somerville <matthew@mysociety.org> | 2012-12-20 15:56:03 +0000 |
---|---|---|
committer | Matthew Somerville <matthew@mysociety.org> | 2012-12-20 15:56:58 +0000 |
commit | dd4e48310242a5ac7b95c27cc4d8526388cfa443 (patch) | |
tree | dea103ec9fcbf20284f0850a47fdf9fa0bee0467 /perllib/FixMyStreet/App/Controller/Admin.pm | |
parent | 393d4a1a3c60b7c9ac15b4824e8d9b88f3ac6316 (diff) |
Call Zurich admin_type on all admin pages.
Diffstat (limited to 'perllib/FixMyStreet/App/Controller/Admin.pm')
-rw-r--r-- | perllib/FixMyStreet/App/Controller/Admin.pm | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/perllib/FixMyStreet/App/Controller/Admin.pm b/perllib/FixMyStreet/App/Controller/Admin.pm index cd1436598..7fb11d6f4 100644 --- a/perllib/FixMyStreet/App/Controller/Admin.pm +++ b/perllib/FixMyStreet/App/Controller/Admin.pm @@ -31,6 +31,7 @@ sub begin : Private { if ($c->cobrand->moniker eq 'zurich') { $c->detach( '/auth/redirect' ) unless $c->user_exists; $c->detach( '/auth/redirect' ) unless $c->user->from_body; + $c->cobrand->admin_type(); } } |