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:
authordartcafe <github@dartcafe.de>2021-01-05 12:04:04 +0300
committerdartcafe <github@dartcafe.de>2021-01-11 00:43:43 +0300
commit53fcb00a98fee096f817375e5806262875d5bb20 (patch)
treec25816cb4ddbfe9869cb80fe77a26d672ebfea24 /appinfo/routes.php
parent6031187eb0d66ab8ccece65064053c15ece64981 (diff)
comments - load async and take pollId from route params
Signed-off-by: dartcafe <github@dartcafe.de>
Diffstat (limited to 'appinfo/routes.php')
-rw-r--r--appinfo/routes.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/appinfo/routes.php b/appinfo/routes.php
index 93aaec92..6f6844e1 100644
--- a/appinfo/routes.php
+++ b/appinfo/routes.php
@@ -81,6 +81,7 @@ return [
['name' => 'subscription#subscribe', 'url' => '/poll/{pollId}/subscribe', 'verb' => 'PUT'],
['name' => 'subscription#unsubscribe', 'url' => '/poll/{pollId}/unsubscribe', 'verb' => 'PUT'],
+ ['name' => 'comment#list', 'url' => '/poll/{pollId}/comments', 'verb' => 'GET'],
['name' => 'comment#add', 'url' => '/poll/{pollId}/comment', 'verb' => 'POST'],
['name' => 'comment#delete', 'url' => '/comment/{commentId}', 'verb' => 'DELETE', 'postfix' => 'auth'],