遵循代码,
<%= will_paginate @bls, :container => false, :previous_label => "上一页", :next_label => "下一页", :page_gap => "......", :inner_window => 0, :outer_window => 0 %>
除了“page_gap”之外的所有内容(如previous_label)都有帮助,页面上的间隙不是“......”,而是“Page gap”。我使用版本3.0.2(最新)。
答案 0 :(得分:1)
https://github.com/mislav/will_paginate/pull/213 如果存在自定义页面间隙,则应使用它而不是默认页面间隙。
<强>更新强> 试试使用配置文件。这非常有用。 Here