X-Git-Url: https://git.njae.me.uk/?a=blobdiff_plain;f=app%2Fviews%2Fproducts%2Fshow.html.erb;fp=app%2Fviews%2Fproducts%2Fshow.html.erb;h=a5f0eac8b6a295687cc4eee5913c7638bb8f29fc;hb=e580d4626176c8deb6f44fec7e66f980b5923b29;hp=0000000000000000000000000000000000000000;hpb=28668145b30d983f624bebb24e9ac9c23d9b13cd;p=depot.git diff --git a/app/views/products/show.html.erb b/app/views/products/show.html.erb new file mode 100644 index 0000000..a5f0eac --- /dev/null +++ b/app/views/products/show.html.erb @@ -0,0 +1,18 @@ +

+ Title: + <%=h @product.title %> +

+ +

+ Description: + <%=h @product.description %> +

+ +

+ Image url: + <%=h @product.image_url %> +

+ + +<%= link_to 'Edit', edit_product_path(@product) %> | +<%= link_to 'Back', products_path %>