Skip to content

Commit

Permalink
Merge pull request #44 from RileyManda/feature/iterations
Browse files Browse the repository at this point in the history
Bug fix:shopping list btn
  • Loading branch information
RileyManda authored Oct 20, 2023
2 parents cef21fc + 8de4547 commit b48e419
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/views/recipe/show.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,8 @@
<p>Cooking Time: <%= @recipe.cooking_time %> minutes</p>

<div class="col-md-6">
<%= 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' %>
</div>
<div class="mt-4">
Expand Down

0 comments on commit b48e419

Please sign in to comment.