From fe5e6aec3bd6c0bd40c32efcf169536af99472a0 Mon Sep 17 00:00:00 2001 From: Li Yazhou Date: Fri, 7 Feb 2014 18:09:11 +0800 Subject: [PATCH] clean up the duplicated .pagination class; fix #17 --- config/initializers/will_paginate.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/config/initializers/will_paginate.rb b/config/initializers/will_paginate.rb index 861252e..490b280 100644 --- a/config/initializers/will_paginate.rb +++ b/config/initializers/will_paginate.rb @@ -19,7 +19,7 @@ class BootstrapLinkRenderer < LinkRenderer protected def html_container(html) - tag :div, tag(:ul, html, :class => "pagination"), container_attributes + tag :ul, html, container_attributes end def page_number(page) @@ -36,4 +36,4 @@ def previous_or_next_page(page, text, classname) end end end -end \ No newline at end of file +end