aboutsummaryrefslogtreecommitdiffstats
path: root/perllib/FixMyStreet/App/Controller/Around.pm
diff options
context:
space:
mode:
authorSteven Day <steve@mysociety.org>2015-06-23 15:54:50 +0100
committerSteven Day <steve@mysociety.org>2015-06-29 12:43:00 +0100
commit62b217c41107247aeb0a631a79829e6b5dfe3f8b (patch)
tree55c2b7d89f41da675e7005fad9fa4c866417669f /perllib/FixMyStreet/App/Controller/Around.pm
parentd9435467362a52bd23739c56e9a4996685e7eb28 (diff)
Stash category from query params for templates to use
Diffstat (limited to 'perllib/FixMyStreet/App/Controller/Around.pm')
-rw-r--r--perllib/FixMyStreet/App/Controller/Around.pm1
1 files changed, 1 insertions, 0 deletions
diff --git a/perllib/FixMyStreet/App/Controller/Around.pm b/perllib/FixMyStreet/App/Controller/Around.pm
index 858cbb5af..1533a34da 100644
--- a/perllib/FixMyStreet/App/Controller/Around.pm
+++ b/perllib/FixMyStreet/App/Controller/Around.pm
@@ -167,6 +167,7 @@ sub display_location : Private {
# Filter by report category
my $category = $c->req->param('category');
+ $c->stash->{category} = $category;
# get the map features
my ( $on_map_all, $on_map, $around_map, $distance ) =