This is the admin index page.

<% @items.each do |item| %>
  <p><%= link_to item.name, item_path(item) %></p>
  <p><%= link_to 'Edit Item', edit_item_path(item) %></p>
  <img src="<%= item.image %>" height="100" width="100">
  <!-- <%= link_to image_tag(item.image), item_path(item) %> -->
<% end %>
This is the admin index page.

<% @items.each do |item| %>
  <p><%= link_to item.name, item_path(item) %></p>
  <p><%= link_to 'Edit Item', edit_item_path(item) %> | <%= link_to 'Delete Item', item_path(item), method: :delete %></p>
  <img src="<%= item.image %>" height="100" width="100">
  <!-- <%= link_to image_tag(item.image), item_path(item) %> -->
<% end %>
Include working delete link next to edit item for all items within admin item view
Include working delete link next to edit item for all items within admin item view
