1
0
mirror of https://gitlab.com/comunic/comunicapiv3 synced 2024-11-23 22:09:22 +00:00
comunicapiv3/src/controllers/virtual_directory_controller.rs

14 lines
371 B
Rust
Raw Normal View History

2020-06-01 15:17:18 +00:00
//! # Virtual directory controller
//!
//! @author Pierre Hubert
use crate::data::http_request_handler::HttpRequestHandler;
use crate::controllers::routes::RequestResult;
/// Find a user by its virtual directory
pub fn find_user(r: &mut HttpRequestHandler) -> RequestResult {
2020-06-02 11:12:54 +00:00
let directory = r.post_virtual_directory("subfolder")?;
2020-06-01 15:17:18 +00:00
r.success("implement it")
}