diff options
Diffstat (limited to 'perllib/FixMyStreet/App/Controller/Report.pm')
-rw-r--r-- | perllib/FixMyStreet/App/Controller/Report.pm | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/perllib/FixMyStreet/App/Controller/Report.pm b/perllib/FixMyStreet/App/Controller/Report.pm index 13a347a90..c20a6754a 100644 --- a/perllib/FixMyStreet/App/Controller/Report.pm +++ b/perllib/FixMyStreet/App/Controller/Report.pm @@ -211,6 +211,19 @@ sub generate_map_tags : Private { return 1; } +=head2 delete + +Endpoint for the council report hiding feature enabled for +C<users_can_hide> bodies, and Bromley. The latter is migrating +to moderation, however we'd need to inform all the other +users too about this change, at which point we can delete: + + - this method + - the call to it in templates/web/fixmystreet/report/display.html + - the users_can_hide cobrand method, in favour of user->has_permission_to + +=cut + sub delete :Local :Args(1) { my ( $self, $c, $id ) = @_; |