Autoformat

This commit is contained in:
Antoine Gersant 2017-07-01 18:19:35 -07:00
parent f42e40b766
commit 300ddebfee

View file

@ -127,10 +127,14 @@ fn get_endpoints(db: Arc<DB>) -> Mount {
let get_db = db.clone();
let put_db = db.clone();
settings_router.get("/",
move |request: &mut Request| self::get_config(request, get_db.deref()),
move |request: &mut Request| {
self::get_config(request, get_db.deref())
},
"get_settings");
settings_router.put("/",
move |request: &mut Request| self::put_config(request, put_db.deref()),
move |request: &mut Request| {
self::put_config(request, put_db.deref())
},
"put_config");
auth_api_mount.mount("/settings/", settings_router);
}