Skip to content

Loading…

Adds pagination links in posts#archive #331

Merged
merged 1 commit into from

2 participants

@jerefrer

No description provided.

@ugisozols ugisozols merged commit 11a670f into refinery:master

1 check passed

Details default The Travis CI build passed
@ugisozols
Refinery member

Thanks @jerefrer!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Commits on May 27, 2013
  1. @jerefrer
This page is out of date. Refresh to see the latest.
Showing with 1 addition and 0 deletions.
  1. +1 −0 app/views/refinery/blog/posts/archive.html.erb
View
1 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>
Something went wrong with that request. Please try again.