diff options
author | dartcafe <github@dartcafe.de> | 2020-10-11 20:44:20 +0300 |
---|---|---|
committer | dartcafe <github@dartcafe.de> | 2020-10-17 17:45:40 +0300 |
commit | e8cb56e3f5236d594efbc28d3cf06beffe62dfb5 (patch) | |
tree | d313f343b8e37d13d0837816f16e4d2fa06a543d /appinfo/routes.php | |
parent | a439a12227e351036c66b111f9ef216b62c90487 (diff) |
refactoring invitations
Diffstat (limited to 'appinfo/routes.php')
-rw-r--r-- | appinfo/routes.php | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/appinfo/routes.php b/appinfo/routes.php index 4b205ba3..e69b3c50 100644 --- a/appinfo/routes.php +++ b/appinfo/routes.php @@ -54,7 +54,8 @@ return [ ['name' => 'vote#setByToken', 'url' => '/vote/set/s', 'verb' => 'POST'], ['name' => 'vote#delete', 'url' => '/votes/delete', 'verb' => 'POST'], - ['name' => 'share#add', 'url' => '/share/add', 'verb' => 'POST'], + ['name' => 'share#list', 'url' => '/poll/{pollId}/shares', 'verb' => 'GET'], + ['name' => 'share#add', 'url' => '/poll/{pollId}/share', 'verb' => 'POST'], ['name' => 'share#get', 'url' => '/share/{token}', 'verb' => 'GET'], ['name' => 'share#personal', 'url' => '/share/personal', 'verb' => 'POST'], ['name' => 'share#delete', 'url' => '/share/delete/{token}', 'verb' => 'DELETE'], |