Ingredients can now be manually ordered

This commit is contained in:
Greg Burri 2025-01-16 00:17:08 +01:00
parent afd42ba1d0
commit ca2227037f
11 changed files with 205 additions and 32 deletions

View file

@ -173,6 +173,10 @@ async fn main() {
"/recipe/set_ingredient_unit",
put(services::ron::set_ingredient_unit),
)
.route(
"/recipe/set_ingredients_order",
put(services::ron::set_ingredients_order),
)
.fallback(services::ron::not_found);
let fragments_routes = Router::new().route(