calforcal / fe_zero_waste_kitchen

1 stars 2 forks source link

FE - US #16 - Cooked Recipes #20

Open kdhubb opened 1 year ago

kdhubb commented 1 year ago

As a logged in user When I visit a recipe’s show page I see a button to “Cook This Recipe” which adds the recipe to my cooked recipes in “My Cookbook” After clicking this button, I am taken to the Recipes Cook page (“/recipes/:id/cook”) where I can adjust the number of servings I’d like to make. I also see a checkbox next to each ingredient that says “Save from waste bin.” When I click submit, I see that the ingredients list has been updated with quantities of ingredients that match the number of servings I inputted. (unrestful route here? recipes/:id/cook ??) I also see that my #food saved has been updated on my dashboard.