diff options
-rw-r--r-- | perllib/FixMyStreet/App/Controller/Reports.pm | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/perllib/FixMyStreet/App/Controller/Reports.pm b/perllib/FixMyStreet/App/Controller/Reports.pm index 3414f9a2f..b079ba68e 100644 --- a/perllib/FixMyStreet/App/Controller/Reports.pm +++ b/perllib/FixMyStreet/App/Controller/Reports.pm @@ -54,6 +54,10 @@ sub index : Path : Args(0) { return 1; } + if ( $c->cobrand->call_hook('report_page_data') ) { + return 1; + } + if ( my $body = $c->cobrand->all_reports_single_body ) { $c->stash->{body} = $body; $c->detach( 'redirect_body' ); |