Skip to content

Commit ae0b76f

Browse files
author
Chris
committed
fix to sym bug
1 parent cde0867 commit ae0b76f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/helpers/application_helper.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ def custom_pagy_nav(pagy)
55
html = '<div class="flex items-center gap-2">'
66
html << pagy_nav_prev(pagy) if pagy.prev
77
pagy.series.each do |item|
8-
if item.to_i == pagy.page.to_i
8+
if item.to_s == pagy.page.to_s
99
html << link_to(item, url_for(page: item), class: "btn btn-sm btn-neutral min-w-[2.5rem] pointer-events-none")
1010
else
1111
html << link_to(item, url_for(page: item), class: "btn btn-sm btn-ghost min-w-[2.5rem]")

0 commit comments

Comments
 (0)