Refactored nested comments. Now using partial to load them

This commit is contained in:
Shayon Mukherjee 2015-02-27 11:11:14 -06:00
parent cc66027220
commit 54bcc89204
4 changed files with 28 additions and 26 deletions

View file

@ -141,4 +141,4 @@
%br
- @comments.each do |comment|
%div
= raw format_comments(comment)
= render "nested_comments", comment: comment, padding: 0