<%= notice %>

Listing Planets

<% @planets.each do |planet| %> <% end %>
Name
<%= planet.name %> <%= link_to 'Show', planet %> <%= link_to 'Edit', edit_planet_path(planet) %> <%= link_to 'Destroy', planet, method: :delete, data: { confirm: 'Are you sure?' } %>

<%= link_to 'New Planet', new_planet_path %>