Skip to content

Commit

Permalink
clean up the duplicated .pagination class; fix yrgoldteeth#17
Browse files Browse the repository at this point in the history
  • Loading branch information
flaneur2020 committed Feb 7, 2014
1 parent 702b4b1 commit 8aa5b1d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions config/initializers/will_paginate.rb
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ class BootstrapLinkRenderer < LinkRenderer
protected

def html_container(html)
tag :div, tag(:ul, html, :class => "pagination"), container_attributes
tag :ul, html, :class => "pagination"
end

def page_number(page)
Expand All @@ -36,4 +36,4 @@ def previous_or_next_page(page, text, classname)
end
end
end
end
end

0 comments on commit 8aa5b1d

Please sign in to comment.