From 8528cf59df52802950c50a5c1af3cfd9ffdac33f Mon Sep 17 00:00:00 2001 From: Sammy Date: Fri, 23 Aug 2013 11:22:41 +0800 Subject: [PATCH] upgrade support bootstrap 3 --- app/views/kaminari/_paginator.html.erb | 26 ++++++++++++-------------- 1 file changed, 12 insertions(+), 14 deletions(-) diff --git a/app/views/kaminari/_paginator.html.erb b/app/views/kaminari/_paginator.html.erb index 4c08873..acb0b46 100644 --- a/app/views/kaminari/_paginator.html.erb +++ b/app/views/kaminari/_paginator.html.erb @@ -7,19 +7,17 @@ paginator: the paginator that renders the pagination tags inside -%> <%= paginator.render do -%> - + <% end -%> + <%= next_page_tag unless current_page.last? %> + <%= last_page_tag unless current_page.last? %> + <% end -%>