Listing hosts

<% for host in @hosts %> <% end %>
<%= link_to 'Show', host_path(1, host) %> <%= link_to 'Edit', edit_host_path(1, host) %> <%= link_to 'Destroy', host_path(1, host), :confirm => 'Are you sure?', :method => :delete %>

<%= link_to 'New host', new_host_path(1) %>