Add couple more aliases for PUTs and DELETEs

This commit is contained in:
Miroslav Prasil
2018-08-13 16:45:30 +01:00
parent 6ede1743ac
commit 0dfd9c7670
2 changed files with 49 additions and 13 deletions

View File

@@ -78,6 +78,7 @@ pub fn routes() -> Vec<Route> {
get_organization,
create_organization,
delete_organization,
post_delete_organization,
leave_organization,
get_user_collections,
get_org_collections,
@@ -85,8 +86,11 @@ pub fn routes() -> Vec<Route> {
get_collection_users,
post_organization,
post_organization_collections,
delete_organization_collection_user,
post_organization_collection_delete_user,
post_organization_collection_update,
put_organization_collection_update,
delete_organization_collection,
post_organization_collection_delete,
post_collections_update,
post_collections_admin,
@@ -97,7 +101,9 @@ pub fn routes() -> Vec<Route> {
confirm_invite,
get_user,
edit_user,
put_organization_user,
delete_user,
post_delete_user,
clear_device_token,
put_device_token,