railsrumble/r13-team-357

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

Summary

Maintainability
Test Coverage
<% if @comment.destroyed? %>
    $("#comment-<%= @comment_id %>").remove();
    $("#comment_stat").html("<%= escape_javascript( render 'stat', card: @comment.card ) %>");
<% end %>