aboutsummaryrefslogtreecommitdiffstats
path: root/app
diff options
context:
space:
mode:
authorUģis Ozols <ugis.ozolss@gmail.com>2011-07-27 22:53:46 +0300
committerUģis Ozols <ugis.ozolss@gmail.com>2011-07-27 22:53:46 +0300
commitbba9d632d6abfde62d00429d7092c76c4db0bc8e (patch)
tree7e1a47de9bc95f6e4d41e06d6a47fbc1503449c7 /app
parentd3da59e3f250f7b8f52946ab903efc8dcbe2a7cd (diff)
downloadrefinerycms-blog-bba9d632d6abfde62d00429d7092c76c4db0bc8e.tar.gz
refinerycms-blog-bba9d632d6abfde62d00429d7092c76c4db0bc8e.tar.bz2
refinerycms-blog-bba9d632d6abfde62d00429d7092c76c4db0bc8e.zip
will_paginate -> paginate.
Diffstat (limited to 'app')
-rw-r--r--app/views/refinery/admin/blog/categories/index.html.erb4
-rw-r--r--app/views/refinery/admin/blog/comments/index.html.erb12
-rw-r--r--app/views/refinery/admin/blog/posts/uncategorized.html.erb4
-rw-r--r--app/views/refinery/blog/categories/show.html.erb2
-rw-r--r--app/views/refinery/blog/posts/index.html.erb2
5 files changed, 10 insertions, 14 deletions
diff --git a/app/views/refinery/admin/blog/categories/index.html.erb b/app/views/refinery/admin/blog/categories/index.html.erb
index 5d17d42..938f235 100644
--- a/app/views/refinery/admin/blog/categories/index.html.erb
+++ b/app/views/refinery/admin/blog/categories/index.html.erb
@@ -10,11 +10,11 @@
<% end %>
<% else %>
<% if @blog_categories.any? %>
- <%= will_paginate @blog_categories %>
+ <%= paginate @blog_categories %>
<%= render :partial => "sortable_list" %>
- <%= will_paginate @blog_categories %>
+ <%= paginate @blog_categories %>
<% else %>
<p>
<strong>
diff --git a/app/views/refinery/admin/blog/comments/index.html.erb b/app/views/refinery/admin/blog/comments/index.html.erb
index aaec4ae..e644f51 100644
--- a/app/views/refinery/admin/blog/comments/index.html.erb
+++ b/app/views/refinery/admin/blog/comments/index.html.erb
@@ -3,28 +3,24 @@
<% if searching? %>
<h2><%= t('results_for', :scope => 'shared.admin.search', :query => params[:search]) %></h2>
<% if @blog_comments.any? %>
- <%=# will_paginate @blog_comments
- %>
+ <%=# paginate @blog_comments %>
<ul>
<%= render :partial => "blog_comments",
:collection => @blog_comments %>
</ul>
- <%=# will_paginate @blog_comments
- %>
+ <%=# paginate @blog_comments %>
<% else %>
<p><%= t('search_no_results', :scope => 'admin') %></p>
<% end %>
<% else %>
<% if @blog_comments.any? %>
- <%=# will_paginate @blog_comments
- %>
+ <%=# paginate @blog_comments %>
<%= render :partial => "sortable_list" %>
- <%=# will_paginate @blog_comments
- %>
+ <%=# paginate @blog_comments %>
<% else %>
<h3>
<%= t('.no_items_yet',
diff --git a/app/views/refinery/admin/blog/posts/uncategorized.html.erb b/app/views/refinery/admin/blog/posts/uncategorized.html.erb
index 19d9e20..04d23fe 100644
--- a/app/views/refinery/admin/blog/posts/uncategorized.html.erb
+++ b/app/views/refinery/admin/blog/posts/uncategorized.html.erb
@@ -10,11 +10,11 @@
<% end %>
<% else %>
<% if @blog_posts.any? %>
- <%= will_paginate @blog_posts %>
+ <%= paginate @blog_posts %>
<%= render :partial => "sortable_list" %>
- <%= will_paginate @blog_posts %>
+ <%= paginate @blog_posts %>
<% else %>
<p>
<strong>
diff --git a/app/views/refinery/blog/categories/show.html.erb b/app/views/refinery/blog/categories/show.html.erb
index 40444ec..fd0bc25 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? %>
<section id="blog_posts">
<%= render :partial => "/blog/shared/post", :collection => @blog_posts %>
- <%= will_paginate @blog_posts %>
+ <%= paginate @blog_posts %>
</section>
<% else %>
<p>
diff --git a/app/views/refinery/blog/posts/index.html.erb b/app/views/refinery/blog/posts/index.html.erb
index 8c3801a..0a70102 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? %>
<section id="blog_posts">
<%= render :partial => "/blog/shared/post", :collection => @blog_posts %>
- <%= will_paginate @blog_posts %>
+ <%= paginate @blog_posts %>
</section>
<% else %>
<p><%= t('.no_blog_articles_yet') %></p>