_comment.html.haml revision ffddc54fc6bb11130abd3281dcd95159c7f3ce7f
%li
%a{:name => "comment_#{comment.id}"}
= fancy_link comment.user
wrote
= timestamp comment
- if can? :destroy, comment
%li= link_to 'delete', [comment.commentable, comment], method: :delete, remote: true, confirm: 'Really delete this comment?'
= simple_format comment.text