SHARE
TWEET

Untitled

a guest Nov 12th, 2018 85 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. <% @post.comments.each do |comment| %>
  2.   <p>
  3.     <strong>Comment:</strong>
  4.     <%= comment.id %>
  5.     <%= comment.body %>
  6.   </p>
  7. <% end %>
  8.  
  9. <%= render 'comments/form', comment: @comment %>
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top