diff --git a/app/views/comments/_actions.html.erb b/app/views/comments/_actions.html.erb index 36ec42e01..80302a70a 100644 --- a/app/views/comments/_actions.html.erb +++ b/app/views/comments/_actions.html.erb @@ -11,7 +11,7 @@ <% if can? :hide, comment.user %> • - <%= link_to t("admin.actions.hide_author").capitalize, hide_moderation_user_path(comment.user_id, debate_id: @debate.id), + <%= link_to t("admin.actions.hide_author").capitalize, hide_moderation_user_path(comment.user_id), method: :put, data: { confirm: t('admin.actions.confirm') } %> <% end %> diff --git a/app/views/comments/_comment.html.erb b/app/views/comments/_comment.html.erb index 25d7585f3..ad56e6341 100644 --- a/app/views/comments/_comment.html.erb +++ b/app/views/comments/_comment.html.erb @@ -5,7 +5,7 @@ <% if comment.hidden? || comment.user.hidden? %> <% if select_children(@comments, comment).size > 0 %>
<%= t("debates.comment.deleted") %>
+<%= t("comment.deleted") %>