Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/polls.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRené Gieling <github@dartcafe.de>2020-01-26 20:55:22 +0300
committerGitHub <noreply@github.com>2020-01-26 20:55:22 +0300
commit3b2695e62217acb084bd12c8ac9d4d6cad980972 (patch)
treeaa750cd5cefbb7a66f98d1e7332041697c71903f /appinfo/routes.php
parenta428b645d80b5f2d63e1fcfac0b8bfa5d0819dd4 (diff)
parent09e8d4b95f81340263504477392d2878a8cdbc1a (diff)
Merge pull request #786 from nextcloud/deleteCommentsv1.2.0-beta
Delete comments
Diffstat (limited to 'appinfo/routes.php')
-rw-r--r--appinfo/routes.php2
1 files changed, 2 insertions, 0 deletions
diff --git a/appinfo/routes.php b/appinfo/routes.php
index c5f42d6c..47b5c6d9 100644
--- a/appinfo/routes.php
+++ b/appinfo/routes.php
@@ -36,6 +36,8 @@ return [
['name' => 'comment#writeByToken', 'url' => '/comment/write/s/', 'verb' => 'POST'],
['name' => 'comment#get', 'url' => '/comments/get/{pollId}', 'verb' => 'GET'],
['name' => 'comment#write', 'url' => '/comment/write/', 'verb' => 'POST'],
+ ['name' => 'comment#delete', 'url' => '/comment/delete/', 'verb' => 'POST'],
+ ['name' => 'comment#deleteByToken', 'url' => '/comment/delete/s/', 'verb' => 'POST'],
['name' => 'vote#getByToken', 'url' => '/votes/get/s/{token}', 'verb' => 'GET'],
['name' => 'vote#setByToken', 'url' => '/vote/set/s/', 'verb' => 'POST'],