diff options
author | dartcafe <github@dartcafe.de> | 2021-06-19 21:32:58 +0300 |
---|---|---|
committer | dartcafe <github@dartcafe.de> | 2021-06-19 21:32:58 +0300 |
commit | ad0b6583c4ba23ff89072cfee94e087e7b838499 (patch) | |
tree | db8c7397333809050ebb416c66f457709b205d9e /appinfo/routes.php | |
parent | b039458488cc32ff3801e5afd6b82d3b4901bd40 (diff) |
change soft deleted polls to archived polls
Signed-off-by: dartcafe <github@dartcafe.de>
Diffstat (limited to 'appinfo/routes.php')
-rw-r--r-- | appinfo/routes.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/appinfo/routes.php b/appinfo/routes.php index 1c87bfb6..533236c7 100644 --- a/appinfo/routes.php +++ b/appinfo/routes.php @@ -61,7 +61,7 @@ return [ ['name' => 'poll#update', 'url' => '/poll/{pollId}', 'verb' => 'PUT'], ['name' => 'poll#delete', 'url' => '/poll/{pollId}', 'verb' => 'DELETE'], - ['name' => 'poll#switchDeleted', 'url' => '/poll/{pollId}/switchDeleted', 'verb' => 'PUT'], + ['name' => 'poll#toggleArchive', 'url' => '/poll/{pollId}/toggleArchive', 'verb' => 'PUT'], ['name' => 'poll#clone', 'url' => '/poll/{pollId}/clone', 'verb' => 'GET'], ['name' => 'poll#getParticipantsEmailAddresses', 'url' => '/poll/{pollId}/addresses', 'verb' => 'GET'], |