aboutsummaryrefslogtreecommitdiffstats
path: root/app
diff options
context:
space:
mode:
authorUģis Ozols <ugis.ozolss@gmail.com>2010-12-10 08:58:42 +0200
committerUģis Ozols <ugis.ozolss@gmail.com>2010-12-10 08:58:42 +0200
commit58da388652f82276d4a5e7d6c801c1fa91bf6695 (patch)
treecd1417d9c12590b04e5e2a5584d94f8f9e78c5e1 /app
parent5c5ed009cc5b9f99f7470522c60c2d6715c8661c (diff)
downloadrefinerycms-blog-58da388652f82276d4a5e7d6c801c1fa91bf6695.tar.gz
refinerycms-blog-58da388652f82276d4a5e7d6c801c1fa91bf6695.tar.bz2
refinerycms-blog-58da388652f82276d4a5e7d6c801c1fa91bf6695.zip
Cleanup views as will_paginate link labels gets set in core.
Diffstat (limited to 'app')
-rw-r--r--app/views/admin/blog/categories/index.html.erb8
-rw-r--r--app/views/admin/blog/posts/index.html.erb8
2 files changed, 4 insertions, 12 deletions
diff --git a/app/views/admin/blog/categories/index.html.erb b/app/views/admin/blog/categories/index.html.erb
index d9ccae6..60ade7a 100644
--- a/app/views/admin/blog/categories/index.html.erb
+++ b/app/views/admin/blog/categories/index.html.erb
@@ -10,15 +10,11 @@
<% end %>
<% else %>
<% if @blog_categories.any? %>
- <%= will_paginate @blog_categories,
- :previous_label => '&laquo;',
- :next_label => '&raquo;' %>
+ <%= will_paginate @blog_categories %>
<%= render :partial => "sortable_list" %>
- <%= will_paginate @blog_categories,
- :previous_label => '&laquo;',
- :next_label => '&raquo;' %>
+ <%= will_paginate @blog_categories %>
<% else %>
<p>
<strong>
diff --git a/app/views/admin/blog/posts/index.html.erb b/app/views/admin/blog/posts/index.html.erb
index d8c45a9..888daab 100644
--- a/app/views/admin/blog/posts/index.html.erb
+++ b/app/views/admin/blog/posts/index.html.erb
@@ -10,15 +10,11 @@
<% end %>
<% else %>
<% if @blog_posts.any? %>
- <%= will_paginate @blog_posts,
- :previous_label => '&laquo;',
- :next_label => '&raquo;' %>
+ <%= will_paginate @blog_posts %>
<%= render :partial => "sortable_list" %>
- <%= will_paginate @blog_posts,
- :previous_label => '&laquo;',
- :next_label => '&raquo;' %>
+ <%= will_paginate @blog_posts %>
<% else %>
<p>
<strong>