<p>This is where all of the available items will be visible.  If you'd like to create a new item, <%= link_to "click here", new_item_path %>.</p>


<% @items.each do |item| %>
  <p><%= link_to item.name, item_path(item) %></p>
  <img src="<%= item.image %>" height="100" width="100">
  <!-- <%= link_to image_tag(item.image), item_path(item) %> -->
<% end %>
<% if current_user && current_user.admin %>
  <p>This is where all of the available items will be visible.  If you'd like to create a new item, <%= link_to "click here", new_item_path %>.</p>
<% end %>


<% @items.each do |item| %>
  <p><%= link_to item.name, item_path(item) %></p>
  <img src="<%= item.image %>" height="100" width="100">
  <!-- <%= link_to image_tag(item.image), item_path(item) %> -->
<% end %>
Update root_path so new_item_path link is only visible if you are admin
Update root_path so new_item_path link is only visible if you are admin
