diff options
author | dartcafe <github@dartcafe.de> | 2020-07-07 18:22:50 +0300 |
---|---|---|
committer | dartcafe <github@dartcafe.de> | 2020-07-07 18:22:50 +0300 |
commit | 7f3efd71e43fe6775d73b5b2fb12bd0afaa30054 (patch) | |
tree | 5d2f3bc4be73e62ad5bd135e9a070dafc2eac200 /appinfo/routes.php | |
parent | 1230e822b36017a8c693a780f379705e899d1140 (diff) |
Fixes.
Diffstat (limited to 'appinfo/routes.php')
-rw-r--r-- | appinfo/routes.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/appinfo/routes.php b/appinfo/routes.php index 0259f841..d7120e14 100644 --- a/appinfo/routes.php +++ b/appinfo/routes.php @@ -30,8 +30,8 @@ return [ ['name' => 'page#vote_public', 'url' => '/s/{token}', 'verb' => 'GET', 'postfix' => 'public'], ['name' => 'page#vote_public', 'url' => '/poll/{token}', 'verb' => 'GET', 'postfix' => 'oldpublic'], - ['name' => 'subscription#get', 'url' => '/subscription/get/{pollId}', 'verb' => 'GET'], - ['name' => 'subscription#set', 'url' => '/subscription/set', 'verb' => 'POST'], + ['name' => 'subscription#get', 'url' => '/subscription/{pollId}', 'verb' => 'GET'], + ['name' => 'subscription#set', 'url' => '/subscription', 'verb' => 'POST'], ['name' => 'comment#getByToken', 'url' => '/comments/s/{token}', 'verb' => 'GET'], ['name' => 'comment#get', 'url' => '/comments/{pollId}', 'verb' => 'GET'], |