Skip to content

Instantly share code, notes, and snippets.

@JasonY1
Created May 23, 2014 18:19
Show Gist options
  • Save JasonY1/9e88650bbab3f5162765 to your computer and use it in GitHub Desktop.
Save JasonY1/9e88650bbab3f5162765 to your computer and use it in GitHub Desktop.
<p>
<strong>Commenter:</strong>
<%= comment.commenter %>
</p>
<p>
<strong>Comment:</strong>
<%= comment.body %>
</p>
<p>
<%= link_to 'Destroy Comment', [comment.article, comment],
method: :delete,
data: { confirm: 'Are you sure?' } %>
</p>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment