Name | Code | Price | |||
---|---|---|---|---|---|
<%= product.name %> | <%= product.code %> | <%= product.price %> | <%= link_to 'Show', product %> | <%= link_to 'Edit', edit_product_path(product) %> | <%= link_to 'Destroy', product, method: :delete, data: { confirm: 'Are you sure?' } %> |