1
0
mirror of https://gitlab.com/comunic/comunicapiv3 synced 2025-01-30 14:03:00 +00:00

Ready to implement new route

This commit is contained in:
Pierre HUBERT 2020-06-26 09:55:53 +02:00
parent 3a09223164
commit 8d6dc6365c
2 changed files with 7 additions and 0 deletions

View File

@ -118,3 +118,8 @@ pub fn check_virtual_dir(r: &mut HttpRequestHandler) -> RequestResult {
r.success("Requested virtual directory seems to be available!")
}
/// Change a group's logo
pub fn upload_logo(r: &mut HttpRequestHandler) -> RequestResult {
r.success("implement me")
}

View File

@ -144,6 +144,8 @@ pub fn get_routes() -> Vec<Route> {
Route::post("/groups/checkVirtualDirectory", Box::new(groups_controller::check_virtual_dir)),
Route::post("/groups/upload_logo", Box::new(groups_controller::upload_logo)),
// Virtual directory controller
Route::post("/user/findbyfolder", Box::new(virtual_directory_controller::find_user)),