app/helpers/agilibox/pagination_helper.rb in agilibox-1.9.9 vs app/helpers/agilibox/pagination_helper.rb in agilibox-1.9.10
- old
+ new
@@ -1,8 +1,8 @@
module Agilibox::PaginationHelper
def paginate(objects, options = {})
options = {theme: "twitter-bootstrap-3"}.merge(options)
- super(objects, options).gsub(/>(\s+)</, "><").html_safe
+ super(objects, **options).gsub(/>(\s+)</, "><").html_safe
end
def pagination_infos(collection)
tag.p(class: "pagination-infos") { page_entries_info(collection) }
end