aboutsummaryrefslogtreecommitdiffstats
path: root/app/views
diff options
context:
space:
mode:
authorJérémy FRERE <frere.jeremy@gmail.com>2013-05-27 13:29:21 +0200
committerJérémy FRERE <frere.jeremy@gmail.com>2013-05-27 13:29:30 +0200
commit644fd9fa0d3ba1bca9cb6181ce9fe3d902ab6d51 (patch)
tree626f7112508830f3edf4faf15cf68f914bde5690 /app/views
parentd29fb394748fab37fffda7fc0cfd0f2aa400ae28 (diff)
downloadrefinerycms-blog-644fd9fa0d3ba1bca9cb6181ce9fe3d902ab6d51.tar.gz
refinerycms-blog-644fd9fa0d3ba1bca9cb6181ce9fe3d902ab6d51.tar.bz2
refinerycms-blog-644fd9fa0d3ba1bca9cb6181ce9fe3d902ab6d51.zip
Adds pagination links in posts#archive
Diffstat (limited to 'app/views')
-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>