Module: Dorsale::PaginationHelper
- Included in:
- AllHelpers
- Defined in:
- app/helpers/dorsale/pagination_helper.rb
Instance Method Summary collapse
Instance Method Details
#paginate(objects, options = {}) ⇒ Object
2 3 4 5 |
# File 'app/helpers/dorsale/pagination_helper.rb', line 2 def paginate(objects, = {}) = {theme: "twitter-bootstrap-3"}.merge() super(objects, ).gsub(/>(\s+)</, '><').html_safe end |