Format code with cargo fmt

This commit is contained in:
Quentin de Quelen 2019-11-20 11:24:08 +01:00
parent d01a3944c1
commit 45ded0498b
6 changed files with 69 additions and 47 deletions

View file

@ -13,7 +13,8 @@ pub mod synonym;
pub fn load_routes(app: &mut tide::App<Data>) {
app.at("").nest(|router| {
router.at("/indexes").nest(|router| {
router.at("/")
router
.at("/")
.get(index::list_indexes)
.post(index::create_index);