lib/lipstick/helpers/pagination_link_renderer.rb in aaf-lipstick-3.0.2 vs lib/lipstick/helpers/pagination_link_renderer.rb in aaf-lipstick-3.0.4

- old
+ new

@@ -114,10 +114,10 @@ def link_to_page(content, page:, **opts) li_opts = {} li_opts[:class] = 'active' if page == current - url_opts = template.params.merge(page: page) + url_opts = template.params.permit(:page, :per_page).merge(page: page) opts = opts.merge(href: template.url_for(url_opts)) template.content_tag('li', li_opts) do template.content_tag('a', content, opts) end