Fix another 500 in the mobile site for signed out browsing
This commit is contained in:
parent
72e421b38f
commit
1a8541ff1a
1 changed files with 1 additions and 1 deletions
|
|
@ -6,7 +6,7 @@
|
||||||
.content
|
.content
|
||||||
.remove_comment
|
.remove_comment
|
||||||
.right
|
.right
|
||||||
- if comment.author == current_user.person
|
- if user_signed_in? && comment.author == current_user.person
|
||||||
= link_to(image_tag('deletelabel.png'), comment_path(comment), :method => :delete, :data => { :confirm => "#{t('are_you_sure')}" }, :class => "remove")
|
= link_to(image_tag('deletelabel.png'), comment_path(comment), :method => :delete, :data => { :confirm => "#{t('are_you_sure')}" }, :class => "remove")
|
||||||
.from
|
.from
|
||||||
= person_image_link(comment.author)
|
= person_image_link(comment.author)
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue