Messages

    <% @messages.each_with_index do |message, index| %>
  1. <%= link_to message.summary, message_path(index) %>
  2. <% end %>

<%= @messages.inspect %>