daily pastebin goal
29%
SHARE
TWEET

Untitled

a guest Apr 26th, 2018 50 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. <% count = 0 %>
  2.     <% for comment in @post.comments %>
  3.         <% count = count + 1 %>
  4.         <b>From:</b> <%= comment.name %><br />
  5.         <%= RedCloth.new(comment.body).to_html %>
  6.         <% if @post.comments.size > 1 and count - 1 != @post.comments.size %>
  7.         <hr noshade="noshade" /><br />
  8.         <% end %>
  9.     <% end %>
RAW Paste Data
Top