diff options
author | Matthew Somerville <matthew-github@dracos.co.uk> | 2016-09-20 17:17:56 +0100 |
---|---|---|
committer | Matthew Somerville <matthew-github@dracos.co.uk> | 2016-09-20 17:17:56 +0100 |
commit | 99abfad00e301e3a261820db0d54470d9c4ef10c (patch) | |
tree | f43bfdaf0fba222dde584a3dfdcb497794b15e4b /perllib/FixMyStreet/App.pm | |
parent | 3aca6e562872f6eb27ea7b8a9b31b415d07ddf46 (diff) | |
parent | 019eadfe5eee009a61936a1e0939726aef502e6d (diff) |
Merge branch 'issues/forcouncils/7-custom-open311-attributes'
Diffstat (limited to 'perllib/FixMyStreet/App.pm')
-rw-r--r-- | perllib/FixMyStreet/App.pm | 3 |
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); } |