How to made a redirection if overflow on pagy array

前端 未结 0 1273
暗喜
暗喜 2021-02-04 04:40

I have an index view with 45 products and 3 pages.

I\'m using pagy_array like : @pagy, @products = pagy_array(products, items: 20)

If I delete 6 produ

相关标签:
回答
  • 消灭零回复
提交回复
热议问题