开发者

will_paginate -> How to change the default url?

开发者 https://www.devze.com 2022-12-22 06:45 出处:网络
will_paginate plugin aways generates the pagination to the current url appending the page para开发者_如何学Pythonmeter.

will_paginate plugin aways generates the pagination to the current url appending the page para开发者_如何学Pythonmeter.

Is there a way to change this? I need it to paginate to another controller/action plus some arguments.


will_paginate(@collection, :params => { :controller => "articles", :action => "paginate" })
0

精彩评论

暂无评论...
验证码 换一张
取 消