Simplify calls to render partial
We're also adding a bit of consistency, since most of our calls to partial rendering omit the `partial` and `locals` keys.
This commit is contained in:
@@ -42,9 +42,9 @@
|
||||
</aside>
|
||||
</div>
|
||||
|
||||
<%= render partial: "/comments/comment_tree", locals: { comment_tree: @comment_tree,
|
||||
comment_flags: @comment_flags,
|
||||
display_comments_count: true } %>
|
||||
<%= render "/comments/comment_tree", comment_tree: @comment_tree,
|
||||
comment_flags: @comment_flags,
|
||||
display_comments_count: true %>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user