app/views/blog/categories/show.html.erb in refinerycms-blog-1.5.2 vs app/views/blog/categories/show.html.erb in refinerycms-blog-1.6.0

- old
+ new

@@ -1,11 +1,12 @@ <% content_for :body_content_title, @category.title %> <% content_for :body_content_left do %> - <% if @category.posts.any? %> - <article id="blog_posts"> - <%= render :partial => "/blog/shared/post", :collection => @category.posts %> - </article> + <% if @blog_posts.any? %> + <section id="blog_posts"> + <%= render :partial => "/blog/shared/post", :collection => @blog_posts %> + <%= will_paginate @blog_posts %> + </section> <% else %> <p> <%= t('.no_posts') %> </p> <% end %>