mirror of
https://github.com/philomena-dev/philomena.git
synced 2025-01-19 22:27:59 +01:00
deleted by could be nil
This commit is contained in:
parent
feefc2e5a7
commit
4c4dc4b5ce
1 changed files with 1 additions and 1 deletions
|
@ -16,7 +16,7 @@ article.block.communication id="comment_#{@comment.id}"
|
|||
' Deletion reason:
|
||||
=<> @comment.deletion_reason
|
||||
|
||||
= if can?(@conn, :hide, @comment) do
|
||||
= if can?(@conn, :hide, @comment) and not is_nil(@comment.deleted_by) do
|
||||
| (
|
||||
= @comment.deleted_by.name
|
||||
| )
|
||||
|
|
Loading…
Reference in a new issue