Forgot parens

This commit is contained in:
Raphael Sofaer 2011-03-28 11:22:03 -07:00
parent a0d3921d72
commit c33a952bbd

View file

@ -3,7 +3,7 @@
-# the COPYRIGHT file. -# the COPYRIGHT file.
%li.comment.posted{:data=>{:guid => comment.id}, :class => ("hidden" if(defined? hidden))} %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 .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') = 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) = person_image_link(comment.author)