diff options
author | Jérémy FRERE <frere.jeremy@gmail.com> | 2013-05-27 13:29:21 +0200 |
---|---|---|
committer | Jérémy FRERE <frere.jeremy@gmail.com> | 2013-05-27 13:29:30 +0200 |
commit | 644fd9fa0d3ba1bca9cb6181ce9fe3d902ab6d51 (patch) | |
tree | 626f7112508830f3edf4faf15cf68f914bde5690 /app/views | |
parent | d29fb394748fab37fffda7fc0cfd0f2aa400ae28 (diff) | |
download | refinerycms-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.erb | 1 |
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> |