diff options
author | Dave Arter <davea@mysociety.org> | 2016-07-08 10:27:14 +0100 |
---|---|---|
committer | Dave Arter <davea@mysociety.org> | 2016-07-08 14:29:28 +0100 |
commit | 49207ca458921d79527b832efce32f7ab0dfe6c0 (patch) | |
tree | c0fe2fa2494fec0b75ab7e1dd6188fe6010da041 /web/js/map-OpenStreetMap.js | |
parent | 5cc37b53df6eef31e94dfe5e434ae149068bc892 (diff) |
[Bristol] Only show Open311 categories on Bristol cobrand
This adds a new Cobrand::Default::categories_restriction method that can be used
to limit what categories are available when making a new report on a per-cobrand
basis.
This is used by Cobrand::Bristol to only show Open311 categories when making a
new report on fixmystreet.bristol.gov.uk but allowing all categories on FMS.com.
Also removes the Hart::hidden_categories and uses the new categories_restriction
method to achieve the same thing.
Diffstat (limited to 'web/js/map-OpenStreetMap.js')
0 files changed, 0 insertions, 0 deletions