aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorUģis Ozols <ugis.ozolss@gmail.com>2013-05-27 06:30:05 -0700
committerUģis Ozols <ugis.ozolss@gmail.com>2013-05-27 06:30:05 -0700
commit11a670f011a5f68428926606e323d00ba121a028 (patch)
tree626f7112508830f3edf4faf15cf68f914bde5690
parentd29fb394748fab37fffda7fc0cfd0f2aa400ae28 (diff)
parent644fd9fa0d3ba1bca9cb6181ce9fe3d902ab6d51 (diff)
downloadrefinerycms-blog-11a670f011a5f68428926606e323d00ba121a028.tar.gz
refinerycms-blog-11a670f011a5f68428926606e323d00ba121a028.tar.bz2
refinerycms-blog-11a670f011a5f68428926606e323d00ba121a028.zip
Merge pull request #331 from jerefrer/master
Adds pagination links in posts#archive
-rw-r--r--app/views/refinery/blog/posts/archive.html.erb1
1 files changed, 1 insertions, 0 deletions
diff --git a/app/views/refinery/blog/posts/archive.html.erb b/app/views/refinery/blog/posts/archive.html.erb
index 86a648c..9f5c87f 100644
--- a/app/views/refinery/blog/posts/archive.html.erb
+++ b/app/views/refinery/blog/posts/archive.html.erb
@@ -5,6 +5,7 @@
<% if @posts.any? %>
<section id="blog_posts">
<%= render :partial => "/refinery/blog/shared/post", :collection => @posts %>
+ <%= will_paginate @posts %>
</section>
<% else %>
<p><%= t('.no_blog_articles_posted', :date => @date_title) %></p>