<%= notice %>

Listing Hosts

<% @hosts.each do |host| %> <% end %>
Name Uri
<%= host.name %> <%= host.uri %> <%= link_to 'Show', host %> <%= link_to 'Edit', edit_host_path(host) %> <%= link_to 'Destroy', host, method: :delete, data: { confirm: 'Are you sure?' } %>

<%= link_to 'New host', new_host_path %>