Closed Kacper3331 closed 8 years ago
There's problem with the link to edit item, this is how it's looks like now:
<%= link_to Edit, edit_wishlist_item_path(@wishlist, item), class: "btn btn-default btn-sm" do %> <span class="glyphicon glyphicon-edit"></span> Edit <% end %>
this is how it should looks like:
<%= link_to edit_wishlist_item_path(@wishlist, item), class: "btn btn-default btn-sm" do %> <span class="glyphicon glyphicon-edit"></span> Edit <% end %>
Error is in the wishlists/_item.html.erb partial file in line 8.
wishlists/_item.html.erb
There's problem with the link to edit item, this is how it's looks like now:
this is how it should looks like:
Error is in the
wishlists/_item.html.erb
partial file in line 8.