3
使用自定义名字我使用Mislav的will_paginate
,我想使用的渲染选项,如图所示repository's docs:与will_paginate
<%= page_entries_info @posts %> #-> Displaying posts 6 - 10 of 26 in total
我的特定型号被命名为CoPosts
,这是不一样Post
友好。我很乐意使用他们的渲染选项,但我想将Displaying co_posts 6-10
更改为Displaying posts 6-10
...
如何更改will_paginate用于渲染的名称?
非常感谢@samullen,它像一个魅力。 – sscirrus 2011-03-24 22:21:09
注意:**:entry_name **已被更改为**:model **自will_paginate 3.02 [see this](http://stackoverflow.com/questions/8136835/entry-name-does-not-change-换意志PAGINATE - 不工作) – Anthony 2012-02-21 22:22:14