diff options
author | dartcafe <github@dartcafe.de> | 2021-01-05 12:04:04 +0300 |
---|---|---|
committer | dartcafe <github@dartcafe.de> | 2021-01-11 00:43:43 +0300 |
commit | 53fcb00a98fee096f817375e5806262875d5bb20 (patch) | |
tree | c25816cb4ddbfe9869cb80fe77a26d672ebfea24 /appinfo/routes.php | |
parent | 6031187eb0d66ab8ccece65064053c15ece64981 (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.php | 1 |
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'], |