Fix routing for cook

This commit is contained in:
Jeremy Wall 2022-08-22 18:14:03 -04:00
parent c44b1597dc
commit fadbc4acf2

View File

@ -215,7 +215,7 @@ impl DeriveRoute for AppRoutes {
let route = match path.as_str() {
"" => AppRoutes::default(),
"/ui/plan" | "/" => AppRoutes::Plan,
"/ui/ook" => AppRoutes::Cook,
"/ui/cook" => AppRoutes::Cook,
"/ui/inventory" => AppRoutes::Inventory,
h => {
// TODO(jwall): Parse the recipe hash