1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
<p> <strong>Commenter:</strong> <%= comment.commenter %> </p> <p> <strong>Comment:</strong> <%= comment.body %> </p> <p> <%= link_to 'Destroy Comment', [comment.post, comment], :method => :delete, :data => { :confirm => 'Are you sure?' } %> </p>