This commit is contained in:
qdequele 2020-01-27 19:11:32 +01:00
parent 6a32432b01
commit bbf9f41a04
No known key found for this signature in database
GPG key ID: B3F0A000EBF11745
5 changed files with 432 additions and 8 deletions

View file

@ -136,6 +136,7 @@ pub fn load_routes(app: &mut tide::Server<Data>) {
.post(|ctx| into_response(setting::update_displayed(ctx)))
.delete(|ctx| into_response(setting::delete_displayed(ctx)));
});
router.at("/index-new-fields")
.get(|ctx| into_response(setting::get_index_new_fields(ctx)))
.post(|ctx| into_response(setting::update_index_new_fields(ctx)));