AutoCommit Mon Aug 10 20:03:02 CEST 2015

This commit is contained in:
Andreas Stephanides
2015-08-10 20:03:02 +02:00
parent d628d6cee8
commit 2ef0dc7fb8
7 changed files with 26 additions and 28 deletions

View File

@@ -51,7 +51,7 @@ end
authorize! :comment, c
@comment = Comment.build_for(c, current_user,"", params_new)
@commentable=c
if @comment.parent_object.class==Comment
@comments= @comment.parent_object.children
else