<%= notice %>

Posts

<% @posts.each do |post| %> <%= render post %>

<%= link_to "Show this post", post %>

<% end %>
<%= link_to "New post", new_post_path %>