Rename routes /synonym to /synonyms

This commit is contained in:
Quentin de Quelen 2019-11-20 15:33:42 +01:00
parent c69ae8154f
commit 7f2e5d091a

View File

@ -60,7 +60,7 @@ pub fn load_routes(app: &mut tide::App<Data>) {
.post(document::delete_multiple_documents); .post(document::delete_multiple_documents);
}); });
router.at("/synonym").nest(|router| { router.at("/synonyms").nest(|router| {
router router
.at("/") .at("/")
.get(synonym::list) .get(synonym::list)