From f9e4ac15cfbf7f8fd82f86d12e9787e1d2221dbe Mon Sep 17 00:00:00 2001 From: 2015E8018661112 <794811315@qq.com> Date: Mon, 12 Oct 2015 16:05:36 +0800 Subject: [PATCH] update --- app/views/comments/destroy.js.haml | 3 +++ 1 file changed, 3 insertions(+) create mode 100755 app/views/comments/destroy.js.haml diff --git a/app/views/comments/destroy.js.haml b/app/views/comments/destroy.js.haml new file mode 100755 index 0000000..15d728b --- /dev/null +++ b/app/views/comments/destroy.js.haml @@ -0,0 +1,3 @@ +- if @result[:status] + :plain + $("#comment_#{@comment.id}").remove(); \ No newline at end of file