lib/pagy/extras/bulma.rb in pagy-5.0.1 vs lib/pagy/extras/bulma.rb in pagy-5.1.0

- old
+ new

@@ -2,9 +2,11 @@ # frozen_string_literal: true require 'pagy/extras/shared' class Pagy + # Frontend modules are specially optimized for performance. + # The resulting code may not look very elegant, but produces the best benchmarks module BulmaExtra # Pagination for Bulma: it returns the html with the series of links to the pages def pagy_bulma_nav(pagy, pagy_id: nil, link_extra: '') p_id = %( id="#{pagy_id}") if pagy_id link = pagy_link_proc(pagy, link_extra: link_extra)