diff options
author | dartcafe <github@dartcafe.de> | 2021-01-05 12:53:40 +0300 |
---|---|---|
committer | dartcafe <github@dartcafe.de> | 2021-01-11 00:43:44 +0300 |
commit | 99469d6471e9d729a8ec3e3a8e62f6872426d0bc (patch) | |
tree | 600298d5fbd6c5fd2dcd11d2bbcae9a0ac7a87ef /appinfo | |
parent | 6eee7a89de23cb2af837f44fcf0b69be0517ab5c (diff) |
votes - load async and take pollId from route params
Signed-off-by: dartcafe <github@dartcafe.de>
Diffstat (limited to 'appinfo')
-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 6f6844e1..7d3e96e5 100644 --- a/appinfo/routes.php +++ b/appinfo/routes.php @@ -65,6 +65,7 @@ return [ ['name' => 'option#sequence', 'url' => '/option/{optionId}/sequence', 'verb' => 'POST'], ['name' => 'option#findCalendarEvents', 'url' => '/option/{optionId}/events', 'verb' => 'GET'], + ['name' => 'vote#list', 'url' => '/poll/{pollId}/votes', 'verb' => 'GET'], ['name' => 'vote#set', 'url' => '/vote', 'verb' => 'PUT'], ['name' => 'vote#delete', 'url' => '/poll/{pollId}/user/{userId}', 'verb' => 'DELETE'], |