From 36affef45e8b402471040d2c7d099f8e3ff7f91d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?U=C4=A3is=20Ozols?= Date: Thu, 25 Aug 2011 13:57:59 +0300 Subject: will_paginate is back. --- app/views/refinery/blog/categories/show.html.erb | 2 +- app/views/refinery/blog/posts/index.html.erb | 2 +- app/views/refinery/blog/posts/tagged.html.erb | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) (limited to 'app/views/refinery/blog') diff --git a/app/views/refinery/blog/categories/show.html.erb b/app/views/refinery/blog/categories/show.html.erb index 1ae938f..adcf1aa 100644 --- a/app/views/refinery/blog/categories/show.html.erb +++ b/app/views/refinery/blog/categories/show.html.erb @@ -4,7 +4,7 @@ <% if @blog_posts.any? %>
<%= render :partial => "/refinery/blog/shared/post", :collection => @blog_posts %> - <%= paginate @blog_posts %> + <%= will_paginate @blog_posts %>
<% else %>

diff --git a/app/views/refinery/blog/posts/index.html.erb b/app/views/refinery/blog/posts/index.html.erb index f347af1..4eef04f 100644 --- a/app/views/refinery/blog/posts/index.html.erb +++ b/app/views/refinery/blog/posts/index.html.erb @@ -4,7 +4,7 @@ <% if @blog_posts.any? %>

<%= render :partial => "/refinery/blog/shared/post", :collection => @blog_posts %> - <%= paginate @blog_posts %> + <%= will_paginate @blog_posts %>
<% else %>

<%= t('.no_blog_articles_yet') %>

diff --git a/app/views/refinery/blog/posts/tagged.html.erb b/app/views/refinery/blog/posts/tagged.html.erb index 860bd72..477d2b7 100644 --- a/app/views/refinery/blog/posts/tagged.html.erb +++ b/app/views/refinery/blog/posts/tagged.html.erb @@ -4,7 +4,7 @@ <% if @blog_posts.any? %>
<%= render :partial => "/refinery/blog/shared/post", :collection => @blog_posts %> - <%= paginate @blog_posts %> + <%= will_paginate @blog_posts %>
<% else %>

<%= t('.no_blog_articles_yet') %>

-- cgit v1.2.3