Skip to content

Commit 9cf1d11

Browse files
committed
fix will_paginate issue
1 parent 3e5794c commit 9cf1d11

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

app/helpers/custom_pagination_renderer.rb

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
require "will_paginate/view_helpers/action_view"
2+
require "will_paginate/view_helpers/link_renderer"
3+
14
class CustomPaginationRenderer < WillPaginate::ActionView::LinkRenderer
25
def to_html
36
html = pagination.map do |item|

0 commit comments

Comments
 (0)