Listing pms

<% @pms.each do |pm| %> <% end %>
Author Recipient Message
<%= pm.author %> <%= pm.recipient %> <%= pm.message %> <%= link_to 'Show', pm %> <%= link_to 'Edit', edit_pm_path(pm) %> <%= link_to 'Destroy', pm, method: :delete, data: { confirm: 'Are you sure?' } %>

<%= link_to 'New Pm', new_pm_path %>