Allow users to delete their own comments
This commit is contained in:
committed by
Javi Martín
parent
fa14976cfd
commit
0698c0ff4f
@@ -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:
|
||||
|
||||
@@ -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:
|
||||
|
||||
@@ -3,5 +3,6 @@ resources :comments, only: [:create, :show], shallow: true do
|
||||
post :vote
|
||||
put :flag
|
||||
put :unflag
|
||||
put :hide
|
||||
end
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user