From 8de4547db59a997d566fbdb8a03e8045c1d23680 Mon Sep 17 00:00:00 2001 From: RileyManda Date: Fri, 20 Oct 2023 11:42:23 +0200 Subject: [PATCH] Bug fix:shopping list btn --- app/views/recipe/show.html.erb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/views/recipe/show.html.erb b/app/views/recipe/show.html.erb index 776a652..88ce58e 100644 --- a/app/views/recipe/show.html.erb +++ b/app/views/recipe/show.html.erb @@ -16,8 +16,8 @@

Cooking Time: <%= @recipe.cooking_time %> minutes

+ <%= link_to "Generate Shopping List", shopping_list_path, class: 'btn btn-primary', id: 'generate-shopping-list-button' %> - <%= link_to "Generate Shopping list", shopping_index_path(recipe_id: @recipe.id), class: 'btn btn-primary btn-sm' %> <%= link_to "Add Ingredient", new_recipe_food_path(recipe_id: @recipe.id), class: 'btn btn-primary btn-sm' %>