config/initializers/will_paginate.rb in bootstrap-will_paginate-0.0.9 vs config/initializers/will_paginate.rb in bootstrap-will_paginate-0.0.10

- old
+ new

@@ -17,11 +17,11 @@ class BootstrapLinkRenderer < LinkRenderer protected def html_container(html) - tag :div, tag(:ul, html), container_attributes + tag :div, tag(:ul, html, :class => "pagination"), container_attributes end def page_number(page) tag :li, link(page, page, :rel => rel_value(page)), :class => ('active' if page == current_page) end @@ -34,6 +34,6 @@ tag :li, link(text, page || '#'), :class => [(classname[0..3] if @options[:page_links]), (classname if @options[:page_links]), ('disabled' unless page)].join(' ') end end end -end +end \ No newline at end of file