Allow users to delete their own comments

This commit is contained in:
Julian Herrero
2020-09-24 11:53:48 +07:00
committed by Javi Martín
parent fa14976cfd
commit 0698c0ff4f
12 changed files with 100 additions and 8 deletions

View File

@@ -0,0 +1 @@
$("#<%= dom_id(@comment) %>").replaceWith("<%= j render("comment", comment: @comment) %>");