0
刪除的任何人都知道如何關閉Spree中的will_paginate?
<% if paginated_products.is_a?(WillPaginate::Collection)
params.delete(:search)
params.delete(:taxon)
%><div class="clear"></div><%= will_paginate(paginated_products,
:previous_label => "« #{t('previous')}",
:next_label => "#{t('next')} »") %>
<% end -%>
線僅使得它使得分頁導航消失,但不分頁作爲一個整體。