app/views/thredded/private_topics/show.html.erb in thredded-0.10.0 vs app/views/thredded/private_topics/show.html.erb in thredded-0.10.1

- old
+ new

@@ -9,10 +9,12 @@ class: ['thredded--main-section', 'thredded--topic', *topic_css_classes(private_topic)] do %> <%= render 'thredded/private_topics/header', topic: private_topic %> <%= view_hooks.posts_common.pagination_top.render(self, posts: @posts) do %> <footer class="thredded--pagination-top"><%= paginate @posts %></footer> <% end %> - <%= render partial: 'thredded/private_posts/private_post', collection: @posts, cached: true %> + <%= render_posts @posts, + partial: 'thredded/private_posts/private_post', + content_partial: 'thredded/private_posts/content' %> <%= view_hooks.posts_common.pagination_bottom.render(self, posts: @posts) do %> <footer class="thredded--pagination-bottom"><%= paginate @posts %></footer> <% end %> <%= render 'thredded/private_posts/form', topic: private_topic,