Refactored nested comments. Now using partial to load them
This commit is contained in:
parent
cc66027220
commit
54bcc89204
4 changed files with 28 additions and 26 deletions
|
|
@ -141,4 +141,4 @@
|
|||
%br
|
||||
- @comments.each do |comment|
|
||||
%div
|
||||
= raw format_comments(comment)
|
||||
= render "nested_comments", comment: comment, padding: 0
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue