tap/app/views/products/show.html.erb
2014-11-25 13:09:55 +01:00

11 lines
284 B
Text

<aside>
<p>Products#show</p>
<p>Name: <%= @product.name %></p>
<p>Purchase price: <%= @product.purchase_price %> </p>
<p>Sale price: <%= @product.sale_price %> </p>
<p>Img path: <%= @product.img_path %></p>
<%= link_to "edit", edit_product_path(@product) %>
</aside>