aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDave Whiteland <dave@mysociety.org>2013-02-05 02:01:44 +0000
committerDave Whiteland <dave@mysociety.org>2013-02-05 02:01:44 +0000
commit8560ee2a4ce89d3aced1d0cc797af9fcceb4fb83 (patch)
tree3dcaf4ab87f94d5b91851b111c6adbc1627ade1e
parent24f63072873835bf0f2f72a42e04551c7d60bfe4 (diff)
add FixMyBarnagay council_id so users_can_hide triggers display of hide button
-rw-r--r--perllib/FixMyStreet/Cobrand/FixMyBarangay.pm3
1 files changed, 3 insertions, 0 deletions
diff --git a/perllib/FixMyStreet/Cobrand/FixMyBarangay.pm b/perllib/FixMyStreet/Cobrand/FixMyBarangay.pm
index 44c56887b..1eda6cf43 100644
--- a/perllib/FixMyStreet/Cobrand/FixMyBarangay.pm
+++ b/perllib/FixMyStreet/Cobrand/FixMyBarangay.pm
@@ -33,6 +33,9 @@ sub only_authed_can_create {
return 1;
}
+# effectively allows barangay staff to hide reports
+sub council_id { return [ 1, 2 ]; }
+
sub areas_on_around {
return [ 1, 2 ];
}