Add the update index route

This commit is contained in:
Quentin de Quelen 2019-11-20 15:00:06 +01:00
parent 1f1cb1f501
commit cd95b243bb
2 changed files with 68 additions and 0 deletions

View file

@ -32,6 +32,7 @@ pub fn load_routes(app: &mut tide::App<Data>) {
router
.at("/")
.get(index::get_index)
.put(index::update_index)
.delete(index::delete_index);
router