Forgot parens
This commit is contained in:
parent
a0d3921d72
commit
c33a952bbd
1 changed files with 1 additions and 1 deletions
|
|
@ -3,7 +3,7 @@
|
|||
-# the COPYRIGHT file.
|
||||
|
||||
%li.comment.posted{:data=>{:guid => comment.id}, :class => ("hidden" if(defined? hidden))}
|
||||
- if current_user && current_user.owns?(comment) || current_user.owns?(comment.post)
|
||||
- if current_user && (current_user.owns?(comment) || current_user.owns?(comment.post))
|
||||
.right.controls
|
||||
= link_to image_tag('deletelabel.png'), comment_path(comment), :confirm => t('are_you_sure'), :method => :delete, :remote => true, :class => "delete comment_delete", :title => t('delete')
|
||||
= person_image_link(comment.author)
|
||||
|
|
|
|||
Loading…
Reference in a new issue