refactoring views
This commit is contained in:
1
app/views/comments/create.js.erb
Normal file
1
app/views/comments/create.js.erb
Normal file
@@ -0,0 +1 @@
|
||||
$("div.comments-for-post[data-post-id=<%= @comment.post_id %>] div.list-of-comments").append("<%= escape_javascript(render('comments/partials/show/comment', :comment => @comment)) %>");
|
||||
Reference in New Issue
Block a user