This commit is contained in:
Luna D 2019-12-11 17:39:43 -05:00
parent 1b1947a443
commit 7e39998eb3
No known key found for this signature in database
GPG key ID: D0F46C94720BAA4B

View file

@ -36,7 +36,7 @@ article.block.communication id="comment_#{@comment.id}"
i.fas.fa-check> i.fas.fa-check>
' Restore ' Restore
= if can?(@conn, :delete, @comment) do = if can?(@conn, :delete, @comment) do
= link(to: Routes.image_comment_delete_path(@conn, :delete, @comment.image_id, @comment), method: :delete, data: [confirm: "Are you sure?"], class: "communication__interaction") do = link(to: Routes.image_comment_delete_path(@conn, :delete, @comment.image_id, @comment), data: [confirm: "Are you sure?"], method: :delete, class: "communication__interaction") do
i.fas.fa-times> i.fas.fa-times>
' Delete Contents ' Delete Contents
- not @comment.hidden_from_users and not @comment.destroyed_content -> - not @comment.hidden_from_users and not @comment.destroyed_content ->