Byte4/acebook-byte4

View on GitHub
app/views/comments/destroy.js.erb

Summary

Maintainability
Test Coverage
$('#all-comments-<%= @post.id %>').html("<%= j render @post.comments, post: @post, comment: @comment %>")
$("#comment-count-<%= @post.id %>").text("(<%=j @post.comments.count.to_s %>)")