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

@@ -29,6 +29,9 @@ en:
close: Close
menu: Menu
comments:
actions:
confirm_delete: "Are you sure? This action will delete this comment. You can't undo this action."
delete: "Delete comment"
comments_closed: Comments are closed
verified_only: To participate %{verify_account}
comment:

View File

@@ -29,6 +29,9 @@ es:
close: Cerrar
menu: Menú
comments:
actions:
confirm_delete: "¿Estás seguro/a? Esta acción borrará este comentario. No puedes deshacer esta acción."
delete: "Borrar comentario"
comments_closed: Los comentarios están cerrados
verified_only: Para participar %{verify_account}
comment:

View File

@@ -3,5 +3,6 @@ resources :comments, only: [:create, :show], shallow: true do
post :vote
put :flag
put :unflag
put :hide
end
end