diff options
author | dartcafe <github@dartcafe.de> | 2021-02-21 20:12:30 +0300 |
---|---|---|
committer | dartcafe <github@dartcafe.de> | 2021-02-21 20:12:30 +0300 |
commit | bb1c3a75b0e41f1417a45cdbc5eec824910ba8d5 (patch) | |
tree | 4f2541f01ea719bf54470ff52c24d2b4e13fd412 /appinfo/routes.php | |
parent | 91f6c49f73110248f8679f2197f23153a6c6b3a6 (diff) |
enhance poll watching
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 b41d2d34..2f6b8b30 100644 --- a/appinfo/routes.php +++ b/appinfo/routes.php @@ -40,6 +40,7 @@ return [ ['name' => 'public#resend_invitation', 'url' => '/s/{token}/resend', 'verb' => 'GET'], ['name' => 'public#validate_public_username', 'url' => '/check/username', 'verb' => 'POST'], ['name' => 'public#validate_email_address', 'url' => '/check/emailaddress/{emailAddress}', 'verb' => 'GET'], + ['name' => 'public#watch_poll', 'url' => '/s/{token}/watch', 'verb' => 'GET'], ['name' => 'admin#index', 'url' => '/administration', 'verb' => 'GET'], ['name' => 'admin#list', 'url' => '/administration/polls', 'verb' => 'GET'], @@ -92,7 +93,7 @@ return [ ['name' => 'comment#delete', 'url' => '/comment/{commentId}', 'verb' => 'DELETE', 'postfix' => 'auth'], ['name' => 'system#user_search', 'url' => '/search/users/{query}', 'verb' => 'GET'], - ['name' => 'watch#watch_single_poll', 'url' => '/watch/{pollId}', 'verb' => 'GET'], + ['name' => 'watch#watch_poll', 'url' => '/poll/{pollId}/watch', 'verb' => 'GET'], ['name' => 'preferences#write', 'url' => '/preferences/write', 'verb' => 'POST'], ['name' => 'preferences#get', 'url' => '/preferences/get', 'verb' => 'GET'], |