aboutsummaryrefslogtreecommitdiffstats
path: root/perllib/FixMyStreet/App.pm
diff options
context:
space:
mode:
authorDave Arter <davea@mysociety.org>2017-02-15 17:42:25 +0000
committerDave Arter <davea@mysociety.org>2017-02-15 17:42:25 +0000
commit957f2d968c17a34a6fa95bea6cb6a4eace229aa6 (patch)
tree28ff117ae830534ccd37d3bdc70c8e5dba7f53e9 /perllib/FixMyStreet/App.pm
parent54af489f0fe985dfc433f0b8a3ab226a470a6023 (diff)
parent4d44ea5530a7dc25122e5135c19d89b4cebc5f40 (diff)
Merge branch 'issues/forcouncils/127-exor-rdi-csv-output'
Diffstat (limited to 'perllib/FixMyStreet/App.pm')
-rw-r--r--perllib/FixMyStreet/App.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/perllib/FixMyStreet/App.pm b/perllib/FixMyStreet/App.pm
index 7c5ef488b..2fc560bc8 100644
--- a/perllib/FixMyStreet/App.pm
+++ b/perllib/FixMyStreet/App.pm
@@ -163,7 +163,7 @@ sub setup_request {
my $cobrand = $c->cobrand;
- $cobrand->add_response_headers if $cobrand->can('add_response_headers');
+ $cobrand->call_hook('add_response_headers');
# append the cobrand templates to the include path
$c->stash->{additional_template_paths} = $cobrand->path_to_web_templates;