diff options
author | Matthew Somerville <matthew-github@dracos.co.uk> | 2017-06-30 20:08:22 +0100 |
---|---|---|
committer | Matthew Somerville <matthew-github@dracos.co.uk> | 2017-06-30 20:08:22 +0100 |
commit | af5c9769ed7f3d4217d9a5de21cf07aa977737be (patch) | |
tree | 84ff5a5050e7d4e2100df9c884c348ea8317464f /perllib/FixMyStreet/App/Controller/Report.pm | |
parent | 30dd9d8bd1f4229bf5cb0a8c559ba00dba35b750 (diff) | |
parent | 7b06aae99229d9a5a8544f4aa106682a8c02b497 (diff) |
Merge branch 'issues/forcouncils/193-state-of-the-template'
Diffstat (limited to 'perllib/FixMyStreet/App/Controller/Report.pm')
-rw-r--r-- | perllib/FixMyStreet/App/Controller/Report.pm | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/perllib/FixMyStreet/App/Controller/Report.pm b/perllib/FixMyStreet/App/Controller/Report.pm index 223cea9b4..ef10dc32e 100644 --- a/perllib/FixMyStreet/App/Controller/Report.pm +++ b/perllib/FixMyStreet/App/Controller/Report.pm @@ -315,6 +315,8 @@ sub inspect : Private { if ($c->cobrand->can('council_area_id')) { my $priorities_by_category = FixMyStreet::App->model('DB::ResponsePriority')->by_categories($c->cobrand->council_area_id, @{$c->stash->{contacts}}); $c->stash->{priorities_by_category} = $priorities_by_category; + my $templates_by_category = FixMyStreet::App->model('DB::ResponseTemplate')->by_categories($c->cobrand->council_area_id, @{$c->stash->{contacts}}); + $c->stash->{templates_by_category} = $templates_by_category; } if ( $c->get_param('save') ) { |