1
0
mirror of https://github.com/danog/yawarehouse.git synced 2024-11-30 04:29:08 +01:00

Small bugfix

This commit is contained in:
Daniil Gentili 2018-05-29 11:59:15 +02:00
parent 7c00e6de1d
commit 0d516070b5

View File

@ -9,7 +9,7 @@
<hr>
<ul>
<li><%= link_to 'Add product', section_products_path(@section.id) %><br><br></li>
<li><%= link_to 'Add product', new_section_product_path(@section.id) %><br><br></li>
<% @products.each do | product | %>
<li>
ID: <%= product.id %> (<%= link_to 'Edit', edit_section_product_path(@section.id, product.id) %> - <%= link_to 'Delete', section_product_path(@section.id, product.id), method: :delete, data: { confirm: 'Are you sure?' } %>)<br>