Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/diaspora/diaspora.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--app/views/comments/_comment.mobile.haml2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/comments/_comment.mobile.haml b/app/views/comments/_comment.mobile.haml
index 8743e2fbc..b209efbdf 100644
--- a/app/views/comments/_comment.mobile.haml
+++ b/app/views/comments/_comment.mobile.haml
@@ -6,7 +6,7 @@
.content
.remove_comment
.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")
.from
= person_image_link(comment.author)