Listing alerts

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

<%= link_to 'New Alert', new_alert_path %>