Listing countries

<% @countries.each do |country| %> <% end %>
Name
<%= country.name %> <%= link_to 'Show', country %> <%= link_to 'Edit', edit_country_path(country) %> <%= link_to 'Destroy', country, method: :delete, data: { confirm: 'Are you sure?' } %> <%= link_to 'Cities', country_cities_path(country) %>

<%= link_to 'New Country', new_country_path %>