lib/pagy/extras/pagy.rb in pagy-8.4.0 vs lib/pagy/extras/pagy.rb in pagy-8.4.1

- old
+ new

@@ -61,10 +61,10 @@ a = pagy_anchor(pagy) prev_a(pagy, a, text:, aria_label:) end # Return the enabled/disabled next page anchor tag - def pagy_next_a(pagy, text: pagy_t('pagy.next'), aria_label: pagy_t('pagy.aria_label.prev')) + def pagy_next_a(pagy, text: pagy_t('pagy.next'), aria_label: pagy_t('pagy.aria_label.next')) a = pagy_anchor(pagy) next_a(pagy, a, text:, aria_label:) end # Conditionally return the previous page link tag