From 2ed90168429d70a02f5aead5f0109335fac4f21b Mon Sep 17 00:00:00 2001 From: Justin D Date: Sun, 26 May 2019 07:42:38 -0600 Subject: [PATCH] Adds link and html file for merchant item show page closes #46 --- app/views/merchant/items/index.html.erb | 1 + app/views/merchant/merchants/show.html.erb | 2 ++ 2 files changed, 3 insertions(+) create mode 100644 app/views/merchant/items/index.html.erb diff --git a/app/views/merchant/items/index.html.erb b/app/views/merchant/items/index.html.erb new file mode 100644 index 00000000..5875e5b1 --- /dev/null +++ b/app/views/merchant/items/index.html.erb @@ -0,0 +1 @@ +Merchant Items diff --git a/app/views/merchant/merchants/show.html.erb b/app/views/merchant/merchants/show.html.erb index 00ad8cf9..d5c1728c 100644 --- a/app/views/merchant/merchants/show.html.erb +++ b/app/views/merchant/merchants/show.html.erb @@ -6,6 +6,8 @@ <%= current_user.state%> <%= current_user.zip%> +
+ <%=link_to "View my items", merchant_items_path%>
<%current_user.pending_orders.each do |order| %>