diff --git a/lib/pagy/extras/compact.rb b/lib/pagy/extras/compact.rb index 34b8e14cf..9a4b0493e 100644 --- a/lib/pagy/extras/compact.rb +++ b/lib/pagy/extras/compact.rb @@ -27,21 +27,21 @@ def pagy_nav_compact(pagy, id=caller(1,1)[0].hash) # Compact pagination for bootstrap: it returns the html with the series of links to the pages # we use a numeric input tag to set the page and the PagyCompact javascript to navigate def pagy_nav_bootstrap_compact(pagy, id=caller(1,1)[0].hash) - tags = ''; link = pagy_link_proc(pagy, 'class="btn btn-primary"') + tags = ''; link = pagy_link_proc(pagy) tags << %() end