aboutsummaryrefslogtreecommitdiffstats
path: root/perllib/FixMyStreet/App.pm
diff options
context:
space:
mode:
authorMatthew Somerville <matthew@mysociety.org>2019-11-25 13:59:08 +0000
committerMatthew Somerville <matthew@mysociety.org>2019-11-25 13:59:08 +0000
commite64110f3ee50f6d8f4b3e04df7ed6cd6443c114f (patch)
tree473064952ce207e8c3852d6d1e953888d0498dc7 /perllib/FixMyStreet/App.pm
parent3936729479271dc84edf01e0ff840125a61eeb84 (diff)
parenta1b76bb7873c002a987132280395093d03992b13 (diff)
Merge branch 'csp-uk'
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 42556d1df..f62deae3a 100644
--- a/perllib/FixMyStreet/App.pm
+++ b/perllib/FixMyStreet/App.pm
@@ -199,7 +199,7 @@ sub setup_request {
my $cobrand = $c->cobrand;
FixMyStreet::DB->schema->cobrand($cobrand);
- $cobrand->call_hook('add_response_headers');
+ $cobrand->add_response_headers;
# append the cobrand templates to the include path
$c->stash->{additional_template_paths} = $cobrand->path_to_web_templates;