Skip to content

Instantly share code, notes, and snippets.

@lucasprag
Created September 15, 2017 17:32
Show Gist options
  • Save lucasprag/8256a7a94fb5839d215b18671659876f to your computer and use it in GitHub Desktop.
Save lucasprag/8256a7a94fb5839d215b18671659876f to your computer and use it in GitHub Desktop.

Revisions

  1. lucasprag created this gist Sep 15, 2017.
    4 changes: 4 additions & 0 deletions index.html.erb
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,4 @@
    <% @posts.each do |post| %>
    <h3><%= post.title %></h3>
    <p><%= post.content %></p>
    <% end %>