aboutsummaryrefslogtreecommitdiffstats
path: root/app
diff options
context:
space:
mode:
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>