We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3e5794c commit 9cf1d11Copy full SHA for 9cf1d11
app/helpers/custom_pagination_renderer.rb
@@ -1,3 +1,6 @@
1
+require "will_paginate/view_helpers/action_view"
2
+require "will_paginate/view_helpers/link_renderer"
3
+
4
class CustomPaginationRenderer < WillPaginate::ActionView::LinkRenderer
5
def to_html
6
html = pagination.map do |item|
0 commit comments