diff options
author | dartcafe <github@dartcafe.de> | 2020-10-11 20:44:20 +0300 |
---|---|---|
committer | dartcafe <github@dartcafe.de> | 2020-10-11 20:44:20 +0300 |
commit | 276903b5902471099244ae600ae0e51e115189de (patch) | |
tree | 87ba796ce06d717092cf762fd241c22c498779e1 /appinfo/routes.php | |
parent | 6065df0585e052f837edfa117e45191eda2eb921 (diff) |
refactoring invitations1.6-circles-alpha4
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 b878a1fc..11783be2 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'], |