AutoCommit Son Aug 2 16:03:01 CEST 2015

This commit is contained in:
Andreas Stephanides
2015-08-02 16:03:01 +02:00
parent 270f42bba1
commit bbb924fcfb
5 changed files with 18 additions and 14 deletions

View File

@@ -6,7 +6,7 @@
<b><%= (!comment.anonym) ? comment.user.try(:email) : "Anonym" %>
</b> (<%= I18n.l(comment.created_at) %>)
<%= link_to ffi1_icon("remove9"), comment, method: :delete, data: { confirm: 'Are you sure?' }, remote: true %>:
<%= link_to ffi1_icon("remove9"), comment_path(comment), method: :delete, data: { confirm: 'Are you sure?' }, remote: true %>:
<p>
<%= comment.text %>
<% if can?(:comment, comment.commentable) %>