Add DELETE handlers fo cipher and attachment deletion (fixes #158) (#160)

This commit is contained in:
mprasil
2018-08-28 23:48:53 +01:00
committed by Daniel García
parent 761a0a3393
commit 3cfdf9b585
2 changed files with 12 additions and 0 deletions

View File

@@ -43,6 +43,7 @@ pub fn routes() -> Vec<Route> {
delete_attachment_post,
delete_attachment_post_admin,
delete_attachment,
delete_attachment_admin,
post_cipher_admin,
post_cipher_share,
put_cipher_share,
@@ -52,6 +53,7 @@ pub fn routes() -> Vec<Route> {
delete_cipher_post,
delete_cipher_post_admin,
delete_cipher,
delete_cipher_admin,
delete_cipher_selected,
delete_cipher_selected_post,
delete_all,