<%= notice %>

Messages

<% @messages.each do |message| %> <% end %>
Subject Content
<%= message.subject %> <%= message.content %> <%= link_to 'Show', message %> <%= link_to 'Edit', edit_message_path(message) %> <%= link_to 'Destroy', message, method: :delete, data: { confirm: 'Are you sure?' } %>

<%= link_to 'New Message', new_message_path %>