diff options
author | dartcafe <github@dartcafe.de> | 2020-08-07 23:47:10 +0300 |
---|---|---|
committer | dartcafe <github@dartcafe.de> | 2020-08-07 23:47:10 +0300 |
commit | dad6b97a38348f620d20e5d20108a628269645ee (patch) | |
tree | c93f41df133cf0e6ac9f67557e05b065fe57f46e /appinfo/routes.php | |
parent | db579c72b6315944e6e6b2170acc17f973f8e7f8 (diff) |
public subscription for shares with mail address
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 a2b38130..a2ba77ad 100644 --- a/appinfo/routes.php +++ b/appinfo/routes.php @@ -60,7 +60,8 @@ return [ ['name' => 'share#delete', 'url' => '/share/delete/{token}', 'verb' => 'DELETE'], ['name' => 'share#sendInvitation', 'url' => '/share/send/{token}', 'verb' => 'POST'], - ['name' => 'subscription#get', 'url' => '/subscription/{pollId}', 'verb' => 'GET'], + ['name' => 'subscription#get', 'url' => '/subscription/{pollId}', 'verb' => 'GET', 'postfix' => 'auth'], + ['name' => 'subscription#get', 'url' => '/subscription/s/{token}', 'verb' => 'GET', 'postfix' => 'public'], ['name' => 'subscription#set', 'url' => '/subscription', 'verb' => 'POST'], ['name' => 'comment#add', 'url' => '/comment', 'verb' => 'POST'], |