diff --git a/app/views/comments/destroy.js.haml b/app/views/comments/destroy.js.haml deleted file mode 100755 index 15d728b..0000000 --- a/app/views/comments/destroy.js.haml +++ /dev/null @@ -1,3 +0,0 @@ -- if @result[:status] - :plain - $("#comment_#{@comment.id}").remove(); \ No newline at end of file diff --git a/app/views/comments/edit.js.haml b/app/views/comments/edit.js.haml deleted file mode 100755 index 9b4577f..0000000 --- a/app/views/comments/edit.js.haml +++ /dev/null @@ -1,3 +0,0 @@ -:plain - $("#comment_form").html("#{escape_javascript(render partial: 'articles/comment_form')}"); - location.hash = "#comment_form"; \ No newline at end of file