aboutsummaryrefslogtreecommitdiffstats
path: root/perllib/FixMyStreet/App.pm
diff options
context:
space:
mode:
authorMatthew Somerville <matthew-github@dracos.co.uk>2016-09-20 17:17:56 +0100
committerMatthew Somerville <matthew-github@dracos.co.uk>2016-09-20 17:17:56 +0100
commit99abfad00e301e3a261820db0d54470d9c4ef10c (patch)
treef43bfdaf0fba222dde584a3dfdcb497794b15e4b /perllib/FixMyStreet/App.pm
parent3aca6e562872f6eb27ea7b8a9b31b415d07ddf46 (diff)
parent019eadfe5eee009a61936a1e0939726aef502e6d (diff)
Merge branch 'issues/forcouncils/7-custom-open311-attributes'
Diffstat (limited to 'perllib/FixMyStreet/App.pm')
-rw-r--r--perllib/FixMyStreet/App.pm3
1 files changed, 1 insertions, 2 deletions
diff --git a/perllib/FixMyStreet/App.pm b/perllib/FixMyStreet/App.pm
index 4036e85ab..40a99b6d3 100644
--- a/perllib/FixMyStreet/App.pm
+++ b/perllib/FixMyStreet/App.pm
@@ -415,8 +415,7 @@ call), use this method.
sub render_fragment {
my ($c, $template, $vars) = @_;
- $vars->{additional_template_paths} = $c->cobrand->path_to_web_templates
- if $vars;
+ $vars = { %{$c->stash}, %$vars } if $vars;
$c->view('Web')->render($c, $template, $vars);
}