aboutsummaryrefslogtreecommitdiffstats
path: root/perllib/FixMyStreet/App/Controller/Admin.pm
diff options
context:
space:
mode:
Diffstat (limited to 'perllib/FixMyStreet/App/Controller/Admin.pm')
-rw-r--r--perllib/FixMyStreet/App/Controller/Admin.pm8
1 files changed, 4 insertions, 4 deletions
diff --git a/perllib/FixMyStreet/App/Controller/Admin.pm b/perllib/FixMyStreet/App/Controller/Admin.pm
index d40a4c61d..e9b4bb9a2 100644
--- a/perllib/FixMyStreet/App/Controller/Admin.pm
+++ b/perllib/FixMyStreet/App/Controller/Admin.pm
@@ -587,10 +587,6 @@ sub reports : Path('reports') {
sub report_edit : Path('report_edit') : Args(1) {
my ( $self, $c, $id ) = @_;
- if ( $c->cobrand->moniker eq 'zurich' ) {
- $c->cobrand->admin_bodies();
- }
-
my $site_restriction = $c->cobrand->site_restriction;
my $problem = $c->cobrand->problems->search(
@@ -604,6 +600,10 @@ sub report_edit : Path('report_edit') : Args(1) {
$c->stash->{problem} = $problem;
+ if ( $c->cobrand->moniker eq 'zurich' ) {
+ $c->cobrand->admin_report_edit();
+ }
+
$c->forward('get_token');
$c->forward('check_email_for_abuse', [ $problem->user->email ] );