Add a "consume all ingredients of this recipe" button (this now closes #32)

This commit is contained in:
Bernd Bestel
2018-08-11 11:48:25 +02:00
parent 9a8c61497b
commit 324487d395
7 changed files with 125 additions and 5 deletions

View File

@@ -91,6 +91,7 @@ $app->group('/api', function()
// Recipes
$this->get('/recipes/add-not-fulfilled-products-to-shopping-list/{recipeId}', '\Grocy\Controllers\RecipesApiController:AddNotFulfilledProductsToShoppingList');
$this->get('/recipes/consume-recipe/{recipeId}', '\Grocy\Controllers\RecipesApiController:ConsumeRecipe');
// Habits
$this->get('/habits/track-habit-execution/{habitId}', '\Grocy\Controllers\HabitsApiController:TrackHabitExecution');